aboutsummaryrefslogtreecommitdiff
path: root/std/c/linux.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-29 12:29:40 -0400
committerGitHub <noreply@github.com>2018-04-29 12:29:40 -0400
commitf37e79e720215a3a41c603fe41d05d6910c79de2 (patch)
tree551877ba83cb7f5abc731efd25a21ab7fe55b170 /std/c/linux.zig
parent0bb054e5e7ccb164ea1649608d2f6e4195519cb2 (diff)
parentc76b0a845fb4176479c8bbf915e57dbdfdb7a594 (diff)
downloadzig-f37e79e720215a3a41c603fe41d05d6910c79de2.tar.gz
zig-f37e79e720215a3a41c603fe41d05d6910c79de2.zip
Merge pull request #963 from zig-lang/atomic-stack-and-queue
Atomic stack and queue
Diffstat (limited to 'std/c/linux.zig')
-rw-r--r--std/c/linux.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/c/linux.zig b/std/c/linux.zig
index b2ac05eba5..7810fec130 100644
--- a/std/c/linux.zig
+++ b/std/c/linux.zig
@@ -3,3 +3,8 @@ pub use @import("../os/linux/errno.zig");
pub extern "c" fn getrandom(buf_ptr: &u8, buf_len: usize, flags: c_uint) c_int;
extern "c" fn __errno_location() &c_int;
pub const _errno = __errno_location;
+
+pub const pthread_attr_t = extern struct {
+ __size: [56]u8,
+ __align: c_long,
+};