[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / missing / file.h
blob5e25c4761cd28035f281763f1befe85d9bf85990
1 #ifndef _FILE_H_
2 #define _FILE_H_
3 /* This is file FILE.H */
5 #include <fcntl.h>
7 #ifndef L_SET
8 # define L_SET 0 /* seek from beginning. */
9 # define L_CURR 1 /* seek from current position. */
10 # define L_INCR 1 /* ditto. */
11 # define L_XTND 2 /* seek from end. */
12 #endif
14 #ifndef R_OK
15 # define R_OK 4 /* test whether readable. */
16 # define W_OK 2 /* test whether writable. */
17 # define X_OK 1 /* test whether executable. */
18 # define F_OK 0 /* test whether exist. */
19 #endif
21 #endif