Ruby: missing/file.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

file.h
Go to the documentation of this file.
1#ifndef _FILE_H_
2#define _FILE_H_
3/* This is file FILE.H */
4
5#include <fcntl.h>
6
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
13
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
20
21#endif