Ruby 1.9.3p327(2012-11-10revision37606)
missing/file.h
Go to the documentation of this file.
00001 /* This is file FILE.H */
00002 
00003 #ifndef _FILE_H_
00004 #define _FILE_H_
00005 
00006 #include <fcntl.h>
00007 
00008 #ifndef L_SET
00009 # define L_SET  0       /* seek from beginning.  */
00010 # define L_CURR 1       /* seek from current position.  */
00011 # define L_INCR 1       /* ditto.  */
00012 # define L_XTND 2       /* seek from end.  */
00013 #endif
00014 
00015 #ifndef R_OK
00016 # define R_OK  4        /* test whether readable.  */
00017 # define W_OK  2        /* test whether writable.  */
00018 # define X_OK  1        /* test whether execubale. */
00019 # define F_OK  0        /* test whether exist.  */
00020 #endif
00021 
00022 #endif
00023