summaryrefslogtreecommitdiff
path: root/src/c.zig
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-02-19 23:38:33 +0200
committerGravatar Uko Kokņevičs2024-02-19 23:38:33 +0200
commitd5d5f7f06397d73f497d352f2f38b1a53d932b0d (patch)
tree63e34f5f945f4ecf28f844ee02a5a0b7fc581459 /src/c.zig
parentCreate parent directory if doesn't exist on save (diff)
downloades-d5d5f7f06397d73f497d352f2f38b1a53d932b0d.tar.gz
es-d5d5f7f06397d73f497d352f2f38b1a53d932b0d.tar.xz
es-d5d5f7f06397d73f497d352f2f38b1a53d932b0d.zip
Big update to modern zig
Diffstat (limited to '')
-rw-r--r--src/c.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c.zig b/src/c.zig
new file mode 100644
index 0000000..8fb0a79
--- /dev/null
+++ b/src/c.zig
@@ -0,0 +1,5 @@
1const std = @import("std");
2
3const pid_t = std.c.pid_t;
4
5pub extern "c" fn getpid() pid_t;