|
|
coherent
/* (-lgl
* COHERENT Version 4.0
* Copyright (c) 1982, 1992 by Mark Williams Company.
* All rights reserved. May not be copied without permission.
-lgl) */
/*
* /usr/include/sys/fd.h
* Open file descriptors.
*/
#ifndef __SYS_FD_H__
#define __SYS_FD_H__
#include <sys/types.h>
#include <sys/inode.h>
/*
* File descriptor structure.
*/
typedef struct fd {
char f_flag; /* Flags */
#ifdef _I386
char f_flag2; /* More flags */
#endif
short f_refc; /* Reference count */
fsize_t f_seek; /* Seek pointer */
struct inode *f_ip; /* Pointer to inode */
} FD;
#ifdef KERNEL
/*
* Functions.
*/
extern FD *fdget(); /* fd.c */
#endif
#endif
/* 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.