c.linux: add memfd_create

This commit is contained in:
Luna 2019-12-31 15:35:07 -03:00 committed by Andrew Kelley
parent f0cbf63e1a
commit 13c9faaa2d
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -76,6 +76,8 @@ pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*c_
pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;
pub extern "c" fn memfd_create(name: [*:0]const u8, flags: c_uint) c_int;
pub const pthread_attr_t = extern struct { pub const pthread_attr_t = extern struct {
__size: [56]u8, __size: [56]u8,
__align: c_long, __align: c_long,