diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-03-03 12:08:18 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-03-03 12:08:18 -0700 |
| commit | df4cfc2ecf498bf4615ccbaa93438849322bbd18 (patch) | |
| tree | a71611e86cacd8e021190cc4755574c514acb5c7 /lib/std/c.zig | |
| parent | 72443fb88cfddad8a58868c150eaf5818826cb21 (diff) | |
| parent | 75ff34db9e93056482233f8476a06f78b4a2f3c2 (diff) | |
| download | zig-df4cfc2ecf498bf4615ccbaa93438849322bbd18.tar.gz zig-df4cfc2ecf498bf4615ccbaa93438849322bbd18.zip | |
Merge remote-tracking branch 'origin/master' into llvm16
Diffstat (limited to 'lib/std/c.zig')
| -rw-r--r-- | lib/std/c.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/c.zig b/lib/std/c.zig index 1334b2f2c1..9fc3b1d57e 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -171,7 +171,9 @@ pub extern "c" fn dup(fd: c.fd_t) c_int; pub extern "c" fn dup2(old_fd: c.fd_t, new_fd: c.fd_t) c_int; pub extern "c" fn readlink(noalias path: [*:0]const u8, noalias buf: [*]u8, bufsize: usize) isize; pub extern "c" fn readlinkat(dirfd: c.fd_t, noalias path: [*:0]const u8, noalias buf: [*]u8, bufsize: usize) isize; +pub extern "c" fn chmod(path: [*:0]const u8, mode: c.mode_t) c_int; pub extern "c" fn fchmod(fd: c.fd_t, mode: c.mode_t) c_int; +pub extern "c" fn fchmodat(fd: c.fd_t, path: [*:0]const u8, mode: c.mode_t, flags: c_uint) c_int; pub extern "c" fn fchown(fd: c.fd_t, owner: c.uid_t, group: c.gid_t) c_int; pub extern "c" fn umask(mode: c.mode_t) c.mode_t; |
