home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep (Enterprise)
/
OpenStepENTCD.toast
/
OEDEV
/
DEV.Z
/
file.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-08
|
633b
|
22 lines
#ifndef _WIN32GNU_SYS_FILE_H_
#define _WIN32GNU_SYS_FILE_H_
#include <fcntl.h>
#define LOCK_SH 1 /* shared lock */
#define LOCK_EX 2 /* exclusive lock */
#define LOCK_NB 4 /* don't block when locking */
#define LOCK_UN 8 /* unlock */
#ifndef _NEXT_FOK_DEFINED_
#define _NEXT_FOK_DEFINED_
#define F_OK 0 /* does file exist */
#define X_OK 1 /* is it executable by caller */
#define W_OK 2 /* writable by caller */
#define R_OK 4 /* readable by caller */
#endif _NEXT_FOK_DEFINED_
#endif