| author | |
| committer | |
| log | 7610d39413d45b5d72c532b2128a81d080fe342f |
| tree | ebe58293dad3988fece2155da7f6491f389704ad |
| parent | b118806c69e44029a7af9c9b8bdfa9cdcd280260 |
| signature | Commit is signed but in an unrecognized format. |
3 files changed, 30 insertions(+), 14 deletions(-)
std/os/bits/linux.zig+30| ... | ... | @@ -22,6 +22,36 @@ pub const STDIN_FILENO = 0; |
| 22 | 22 | pub const STDOUT_FILENO = 1; |
| 23 | 23 | pub const STDERR_FILENO = 2; |
| 24 | 24 | |
| 25 | /// Special value used to indicate openat should use the current working directory | |
| 26 | pub const AT_FDCWD = 100; | |
| 27 | ||
| 28 | /// Do not follow symbolic links | |
| 29 | pub const AT_SYMLINK_NOFOLLOW = 0x100; | |
| 30 | ||
| 31 | /// Remove directory instead of unlinking file | |
| 32 | pub const AT_REMOVEDIR = 0x200; | |
| 33 | ||
| 34 | /// Follow symbolic links. | |
| 35 | pub const AT_SYMLINK_FOLLOW = 0x400; | |
| 36 | ||
| 37 | /// Suppress terminal automount traversal | |
| 38 | pub const AT_NO_AUTOMOUNT = 0x800; | |
| 39 | ||
| 40 | /// Allow empty relative pathname | |
| 41 | pub const AT_EMPTY_PATH = 0x1000; | |
| 42 | ||
| 43 | /// Type of synchronisation required from statx() | |
| 44 | pub const AT_STATX_SYNC_TYPE = 0x6000; | |
| 45 | ||
| 46 | /// - Do whatever stat() does | |
| 47 | pub const AT_STATX_SYNC_AS_STAT = 0x0000; | |
| 48 | ||
| 49 | /// - Force the attributes to be sync'd with the server | |
| 50 | pub const AT_STATX_FORCE_SYNC = 0x2000; | |
| 51 | ||
| 52 | /// - Don't sync attributes with the server | |
| 53 | pub const AT_STATX_DONT_SYNC = 0x4000; | |
| 54 | ||
| 25 | 55 | pub const FUTEX_WAIT = 0; |
| 26 | 56 | pub const FUTEX_WAKE = 1; |
| 27 | 57 | pub const FUTEX_FD = 2; |
std/os/bits/linux/arm64.zig-7| ... | ... | @@ -331,13 +331,6 @@ pub const F_GETOWN_EX = 16; |
| 331 | 331 | |
| 332 | 332 | pub const F_GETOWNER_UIDS = 17; |
| 333 | 333 | |
| 334 | pub const AT_FDCWD = -100; | |
| 335 | pub const AT_SYMLINK_NOFOLLOW = 0x100; | |
| 336 | pub const AT_REMOVEDIR = 0x200; | |
| 337 | pub const AT_SYMLINK_FOLLOW = 0x400; | |
| 338 | pub const AT_NO_AUTOMOUNT = 0x800; | |
| 339 | pub const AT_EMPTY_PATH = 0x1000; | |
| 340 | ||
| 341 | 334 | pub const VDSO_USEFUL = true; |
| 342 | 335 | pub const VDSO_CGT_SYM = "__kernel_clock_gettime"; |
| 343 | 336 | pub const VDSO_CGT_VER = "LINUX_2.6.39"; |
std/os/bits/linux/x86_64.zig-7| ... | ... | @@ -394,13 +394,6 @@ pub const F_GETOWN_EX = 16; |
| 394 | 394 | |
| 395 | 395 | pub const F_GETOWNER_UIDS = 17; |
| 396 | 396 | |
| 397 | pub const AT_FDCWD = -100; | |
| 398 | pub const AT_SYMLINK_NOFOLLOW = 0x100; | |
| 399 | pub const AT_REMOVEDIR = 0x200; | |
| 400 | pub const AT_SYMLINK_FOLLOW = 0x400; | |
| 401 | pub const AT_NO_AUTOMOUNT = 0x800; | |
| 402 | pub const AT_EMPTY_PATH = 0x1000; | |
| 403 | ||
| 404 | 397 | pub const VDSO_USEFUL = true; |
| 405 | 398 | pub const VDSO_CGT_SYM = "__vdso_clock_gettime"; |
| 406 | 399 | pub const VDSO_CGT_VER = "LINUX_2.6"; |