Ruby: missing/file.h Source File

Ruby 3.4.4p34 (2025-05-14 revision a38531fd3f617bf734ef7d6c595325f69985ea1d)

file.h
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