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