|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 4.0 ! 3: * Copyright (c) 1982, 1992 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: /* ! 7: * /usr/include/sys/fd.h ! 8: * Open file descriptors. ! 9: */ ! 10: ! 11: #ifndef __SYS_FD_H__ ! 12: #define __SYS_FD_H__ ! 13: ! 14: #include <sys/types.h> ! 15: #include <sys/inode.h> ! 16: ! 17: /* ! 18: * File descriptor structure. ! 19: */ ! 20: typedef struct fd { ! 21: char f_flag; /* Flags */ ! 22: #ifdef _I386 ! 23: char f_flag2; /* More flags */ ! 24: #endif ! 25: short f_refc; /* Reference count */ ! 26: fsize_t f_seek; /* Seek pointer */ ! 27: struct inode *f_ip; /* Pointer to inode */ ! 28: } FD; ! 29: ! 30: #ifdef KERNEL ! 31: /* ! 32: * Functions. ! 33: */ ! 34: extern FD *fdget(); /* fd.c */ ! 35: ! 36: #endif ! 37: ! 38: #endif ! 39: ! 40: /* end of /usr/include/sys/fd.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.