Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <errno.h>
#include <liberrno.h>
#include <foreign.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "fio.h"
Go to the source code of this file.
Defines | |
#define | LIBFSEEK fseek |
#define | LIBFTELL ftell |
#define | LIBFTRUNC ftruncate |
Typedefs | |
typedef long | _ftelltype |
Functions | |
int | _unit_trunc (unit *cup) |
#define LIBFSEEK fseek |
Definition at line 54 of file unittrunc.c.
Referenced by _unit_trunc().
#define LIBFTELL ftell |
Definition at line 55 of file unittrunc.c.
Referenced by _unit_trunc().
#define LIBFTRUNC ftruncate |
Definition at line 56 of file unittrunc.c.
Referenced by _unit_trunc().
typedef long _ftelltype |
Definition at line 53 of file unittrunc.c.
int _unit_trunc | ( | unit * | cup | ) |
Definition at line 69 of file unittrunc.c.
References errno, FP::fdc, FEINTFST, fileno(), FS_FDC, FS_TEXT, L, LIBFSEEK, LIBFTELL, LIBFTRUNC, STD, FP::std, ffsw::sw_error, trunc(), unit_s::uffsw, unit_s::ufp, unit_s::ufs, unit_s::useek, and unit_s::useq.
Referenced by __setpos64(), _f_open(), _REWF(), _setpos(), _unit_bksp(), and _unit_close().