Classes |
struct | ffsw |
struct | ffc_info_s |
struct | ffc_baddata_s |
struct | ffc_gettp_s |
struct | ffc_chktp_s |
struct | ffc_chkev_s |
struct | ffc_stat_s |
struct | ff_ialloc_struct |
struct | ffp_skipf_s |
struct | ffp_settp_s |
struct | ffp_skiptpmk_s |
struct | ffp_abs |
struct | ffp_tapepos |
struct | fflistreq |
Defines |
#define | PARTIAL 0 |
#define | FULL 1 |
#define | FFBSY 0 |
#define | FFCNT 1 |
#define | FFEOR 2 |
#define | FFEOF 3 |
#define | FFEOD 4 |
#define | FFBOD 5 |
#define | FFERR 6 |
#define | FC_GETINFO 1 |
#define | FC_STAT 2 |
#define | FC_SETRECL 3 |
#define | FC_RECALL 4 |
#define | FC_ACPTBAD 5 |
#define | FC_SKIPBAD 6 |
#define | FC_GETTP 7 |
#define | FC_AUTOBAD 8 |
#define | FC_CHECKTP 9 |
#define | FC_ENDSP 10 |
#define | FC_STARTSP 11 |
#define | FC_CLOSEV 12 |
#define | FC_SETSP 13 |
#define | FC_ASPOLL 14 /* give recall a shot at cleanup, no wait */ |
#define | FC_SCRATCH 15 /* identify a file as a scratch file */ |
#define | FC_TSYNC 16 /* sync a tape file */ |
#define | FC_DUMPSTATS 17 /* dump intermediate layer statistics */ |
#define | FC_TPC_SDBSZ 18 /* change block size on ER90 */ |
#define | FC_IALLOC 19 /* bottom layer call ialloc */ |
#define | FC_GETLK 20 /* get file lock */ |
#define | FC_SETLK 21 /* set file lock */ |
#define | FC_SETLKW 22 /* set file lock wait */ |
#define | FC_FSTATFS 23 /* bottom layer call fstatfs */ |
#define | FC_DIOINFO 24 /* get direct info (IRIX only) */ |
#define | FC_CHECKEOV 25 /* check end-of-volume status (IRIX only) */ |
#define | FC_TSDATA 26 /* get tape status information (IRIX only) */ |
#define | FFC_STRM 0x00000001 /* can handle stream I/O */ |
#define | FFC_REC 0x00000002 /* can handle records */ |
#define | FFC_WEOF 0x00000004 /* can represent EOF */ |
#define | FFC_WEOD 0x00000008 /* can represent EOD (all can do) */ |
#define | FFC_BKSP 0x00000010 /* can handle backspace */ |
#define | FFC_BKFIL 0x00000020 /* can handle backfile */ |
#define | FFC_SEEKA 0x00000040 /* can seek absolute */ |
#define | FFC_SEEKR 0x00000080 /* can seek relative */ |
#define | FFC_SEEKE 0x00000100 /* can seek to end */ |
#define | FFC_POSREC 0x00000200 /* can position by record number */ |
#define | FFC_POSFIL 0x00000400 /* can position by EOF mark */ |
#define | FFC_RWND 0x00000800 /* can rewind by seek(x,0,0) */ |
#define | FFC_FIXD 0x00001000 /* can do fixed len recs */ |
#define | FFC_VAR 0x00002000 /* can do variable len recs */ |
#define | FFC_BINARY 0x00004000 /* can do binary records */ |
#define | FFC_CODED 0x00008000 /* can do formatted records */ |
#define | FFC_RDM 0x00010000 /* can do random I/O (no trunc) */ |
#define | FFC_SEQ 0x00020000 /* can do sequential I/O */ |
#define | FFC_ASYNC 0x00040000 /* can do asynchronous I/O */ |
#define | FFC_WRTRUNC 0x00080000 /* write implies truncation */ |
#define | FFC_NOTRN 0x00100000 /* Does no transformation on data */ |
#define | FFC_BCKDOOR 0x00200000 /* Can handle O_SSD flag on open call */ |
#define | FFC_SKIPBAD 0x00400000 /* Can skip bad data */ |
#define | FFC_NOCLOSE 0x00800000 /* Don't try to close layer on abort */ |
#define | FFC_CANLISTIO 0x01000000 /* The layer has a listio entry */ |
#define | FFC_CANSYLISTIO 0x02000000 /* The layer has a listio entry that */ |
#define | FP_GETPOS 1 /* get position of file */ |
#define | FP_SETPOS 2 /* set position of file */ |
#define | FP_BSEEK 3 /* seek to bit position */ |
#define | FP_BKSP 4 /* back up one record (BACKSPACE) */ |
#define | FP_BKFIL 5 /* back up one file (BACKFILE) */ |
#define | FP_GETREC 6 /* Get current record number */ |
#define | FP_SETREC 7 /* Set position to specified record number */ |
#define | FP_SKIPF 8 /* Skip file (SKIPF) */ |
#define | FP_SETTP 9 /* set position of tape file (SETTP) */ |
#define | FP_POS0 10 /* "position to current position" */ |
#define | FP_RSEEK 11 /* relative seek */ |
#define | FP_SKIPTPMK 12 /* skip tape mark */ |
#define | FP_GABS 13 /* get absolute position */ |
#define | FP_SABS 14 /* set absolute position */ |
#define | FP_GETTAPEPOS 15 /* get tape position (IRIX only) */ |
#define | FP_SETTAPEPOS 16 /* set tape position (IRIX only) */ |
#define | FP_TPOS_ABS 0 /* absolute */ |
#define | FP_TPOS_FORW 1 /* forward */ |
#define | FP_TPOS_BACK 2 /* backwards */ |
#define | AUTO_SKIP 1 /* skip 1 block of bad data */ |
#define | AUTO_ACPT 2 /* accept bad data */ |
#define | AUTO_SKIPALL 3 /* skip all bad data */ |
#define | SCR_SINGLELINK 1 /* file is regular and not a linked file */ |
#define | SCR_UNLINKED 2 /* an unlink() successfully deleted the file */ |
#define | SCR_NOFLUSH 4 /* ffclose() buffer flushing suppressed */ |
#define | FFSTAT(io_sw) ((io_sw).sw_stat) |
Functions |
__BEGIN_DECLS int | ffbksp (int _Fd,...) |
int | ffclose (int _Fd,...) |
int | fffcntl (int _Fd, int _Cmd,...) |
int | ffflush (int _Fd,...) |
int | fflistio (int _Cmd, struct fflistreq *_List, int _Nent,...) |
int | ffopens (const char *_Name, int _Oflag, int _Mode, long _Cbits,...) |
int | ffpos (int _Fd, int _Cmd, long *_Arg, int _Len, struct ffsw *_Stat) |
char * | ffstrerror (int _Errnum) |
int | ffread (int _Fd, void *_Buf, size_t _Nb,...) |
int | ffreada (int _Fd, char *_Buf, int _Nb, struct ffsw *_Stat,...) |
int | ffreadc (int _Fd, char *_Buf, int _Nb,...) |
int | ffseek (int _Fd, off_t _Pos, int _Whence,...) |
int | ffsetsp (int _Fd,...) |
int | ffweod (int _Fd,...) |
int | ffweof (int _Fd,...) |
int | ffwrite (int _Fd, const void *_Buf, size_t _Nb,...) |
int | ffwritea (int _Fd, char *_Buf, int _Nb, struct ffsw *_Stat,...) |
int | ffwritec (int _Fd, char *_Buf, int _Nb,...) |
__END_DECLS __BEGIN_DECLS int | ffbkspf (int _Fd, struct ffsw *_Stat) |
int | ffopen (const char *_Name, int _Oflag,...) |
int | ffopenf (const char *_Name, int _Oflag, mode_t _Mode, long _Cbits, int _Cblks, struct ffsw *_Pstat) |
int | ffiolock (int _fd, struct ffsw *_Stat) |
int | ffiounlock (int _fd, struct ffsw *_Stat) |
int | ffclosef (int _Fd, struct ffsw *_Stat) |
int | ffweoff (int _Fd, struct ffsw *_Stat) |
int | ffweodf (int _Fd, struct ffsw *_Stat) |
off_t | ffseekf (int _Fd, off_t _Pos, int _Whence, struct ffsw *_Stat) |
ssize_t | ffreadf (int _Fd, void *_Buf, size_t _Nb, struct ffsw *_stat, int _Fulp, int *_Ubc) |
ssize_t | ffwritef (int _Fd, const void *_Buf, size_t _Nb, struct ffsw *_stat, int _Fulp, int *_Ubc) |