aboutsummaryrefslogtreecommitdiff
path: root/lib/std/c.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-06-22 20:02:27 -0400
committerGitHub <noreply@github.com>2020-06-22 20:02:27 -0400
commit6ff6ac866dee20f4a39fe92d2fa11605d94e2aec (patch)
tree02ca5d10429d58784859b3d732b433afd8a79284 /lib/std/c.zig
parent44bd0a267096b54ac4dd40af31138bab1919e4d7 (diff)
parentc950f0c6c3d5472a635ba8b971f46200d41221fd (diff)
downloadzig-6ff6ac866dee20f4a39fe92d2fa11605d94e2aec.tar.gz
zig-6ff6ac866dee20f4a39fe92d2fa11605d94e2aec.zip
Merge pull request #5666 from kubkon/symlinkat-readlinkat
[libstd]: enhance std.os.{symlinkat, readlinkat} coverage
Diffstat (limited to 'lib/std/c.zig')
-rw-r--r--lib/std/c.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/c.zig b/lib/std/c.zig
index fe9fc7ac40..97d6bf5215 100644
--- a/lib/std/c.zig
+++ b/lib/std/c.zig
@@ -102,6 +102,7 @@ pub extern "c" fn pipe2(fds: *[2]fd_t, flags: u32) c_int;
pub extern "c" fn mkdir(path: [*:0]const u8, mode: c_uint) c_int;
pub extern "c" fn mkdirat(dirfd: fd_t, path: [*:0]const u8, mode: u32) c_int;
pub extern "c" fn symlink(existing: [*:0]const u8, new: [*:0]const u8) c_int;
+pub extern "c" fn symlinkat(oldpath: [*:0]const u8, newdirfd: fd_t, newpath: [*:0]const u8) c_int;
pub extern "c" fn rename(old: [*:0]const u8, new: [*:0]const u8) c_int;
pub extern "c" fn renameat(olddirfd: fd_t, old: [*:0]const u8, newdirfd: fd_t, new: [*:0]const u8) c_int;
pub extern "c" fn chdir(path: [*:0]const u8) c_int;