This commit is contained in:
Daveo 2000-08-29 16:26:01 +00:00
commit 47aee91ef4
396 changed files with 32003 additions and 0 deletions

View file

@ -0,0 +1,33 @@
/*
* File:file.h
*/
/*
* $PSLibId: Run-time Library Release 4.7$
*/
#ifndef _SYS_FILE_H
#define _SYS_FILE_H
#include <sys/fcntl.h>
/* Flag for open() */
#define O_RDONLY FREAD
#define O_WRONLY FWRITE
#define O_RDWR FREAD|FWRITE
#define O_CREAT FCREAT /* open with file create */
#define O_NOBUF FNBUF /* no device buffer and console interrupt */
#define O_NBLOCK FNBLOCK /* non blocking mode */
#define O_NOWAIT FASYNC /* asyncronous i/o */
#ifndef SEEK_SET
#define SEEK_SET 0
#endif
#ifndef SEEK_CUR
#define SEEK_CUR 1
#endif
#ifndef SEEK_END
#define SEEK_END 2
#endif
#endif /* _SYS_FILE_H */