1 # Generated by h2py from /boot/develop/headers/posix/fcntl.h
3 # Included from be_setup.h
4 def __std(ref
): return ref
12 # Included from BeBuild.h
13 B_BEOS_VERSION_4
= 0x0400
14 B_BEOS_VERSION_4_5
= 0x0450
15 B_BEOS_VERSION_5
= 0x0500
16 B_BEOS_VERSION
= B_BEOS_VERSION_5
17 B_BEOS_VERSION_MAUI
= B_BEOS_VERSION_5
26 def _UNUSED(x
): return x
29 # Included from sys/types.h
31 # Included from time.h
33 # Included from null.h
37 # Included from size_t.h
39 # Included from stddef.h
41 # Included from wchar_t.h
43 CLK_TCK
= CLOCKS_PER_SEC
46 # Included from sys/stat.h
47 S_ATTR_DIR
= 01000000000
49 S_INDEX_DIR
= 04000000000
50 S_STR_INDEX
= 00100000000
51 S_INT_INDEX
= 00200000000
52 S_UINT_INDEX
= 00400000000
53 S_LONG_LONG_INDEX
= 00010000000
54 S_ULONG_LONG_INDEX
= 00020000000
55 S_FLOAT_INDEX
= 00040000000
56 S_DOUBLE_INDEX
= 00001000000
57 S_ALLOW_DUPS
= 00002000000
65 def S_ISREG(m
): return (((m
) & S_IFMT
) == S_IFREG
)
67 def S_ISLNK(m
): return (((m
) & S_IFMT
) == S_IFLNK
)
69 def S_ISBLK(m
): return (((m
) & S_IFMT
) == S_IFBLK
)
71 def S_ISDIR(m
): return (((m
) & S_IFMT
) == S_IFDIR
)
73 def S_ISCHR(m
): return (((m
) & S_IFMT
) == S_IFCHR
)
75 def S_ISFIFO(m
): return (((m
) & S_IFMT
) == S_IFIFO
)
77 def S_ISINDEX(m
): return (((m
) & S_INDEX_DIR
) == S_INDEX_DIR
)
119 O_NOTRAVERSE
= 0x2000