* transcode_data.h (rb_trans_elem_t): new field: from and to.
[ruby-svn.git] / missing / file.h
blob2d491d0fc1df42833bd106492c7d9d13ed10fdef
1 /* This is file FILE.H */
3 #ifndef _FILE_H_
4 #define _FILE_H_
6 #include <fcntl.h>
8 #ifndef L_SET
9 # define L_SET 0 /* seek from beginning. */
10 # define L_CURR 1 /* seek from current position. */
11 # define L_INCR 1 /* ditto. */
12 # define L_XTND 2 /* seek from end. */
13 #endif
15 #ifndef R_OK
16 # define R_OK 4 /* test whether readable. */
17 # define W_OK 2 /* test whether writable. */
18 # define X_OK 1 /* test whether execubale. */
19 # define F_OK 0 /* test whether exist. */
20 #endif
22 #endif