/**#endifSubroutines for file access Copyright (C) Tektronix, Inc. 1998 - 2001. All rights reserved. */ /* @see GNU LGPL @author Tektronix CTE @(#) %derived_by: guidod % @version %version: bln_mpt1!5.9 % (%date_modified: Tue Sep 10 13:29:33 2002 %) @{ */ #if defined(__version_control__) && defined(__GNUC__)static char* id __attribute__((unused)) = "@(#) $Id: %full_filespec: file-sub.c~bln_mpt1!5.9:csrc:bln_12xx!1 % $" #endif #define _P4_SOURCE 1 #include <pfe/pfe-base.h> #include <pfe/def-xtra.h> #include <stdio.h> #include <stdlib.h> #include <pfe/logging.h> #include <pfe/_nonansi.h> #include <pfe/_missing.h> #ifdef VXWORKS /*; FIXME: vxworks headers should be fixed!! */ #define stat(_X_,_Y_) (stat((char*)(_X_),(_Y_))) #endif #if !defined PFE_HAVE_ACCESS
_export long fsize (FILE * f) /*
|
_export long fn_size (const char *fn) /*
|
_export long fn_copy (const char *src, const char *dst, long limit) /*
|
/*
|
/**
|
static int fn_extend (const char *fn, long size)
|
int truncate (const char *path, long length)
|
/*
|
/* |