~ubuntu-branches/ubuntu/maverick/ruby1.8/maverick-security

1.1.5 by akira yamada
Import upstream version 1.8.6
1
/* This is file FILE.H */
2
3
#ifndef _FILE_H_
4
#define _FILE_H_
5
6
#include <fcntl.h>
7
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
14
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
21
22
#endif