mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
Revert "std.c: fix few capcisum api calls, following-up on 6ae19fa."
This reverts commit 72dd22f262353fa7d37c89c7d163e97a162abb9b.
This commit is contained in:
parent
88b4ee172f
commit
381704dd0e
@ -554,11 +554,11 @@ pub const CAP = struct {
|
||||
pub extern "c" fn __cap_rights_init(version: c_int, rights: ?*cap_rights_t, ...) ?*cap_rights_t;
|
||||
pub extern "c" fn __cap_rights_set(rights: ?*cap_rights_t, ...) ?*cap_rights_t;
|
||||
pub extern "c" fn __cap_rights_clear(rights: ?*cap_rights_t, ...) ?*cap_rights_t;
|
||||
pub extern "c" fn __cap_rights_merge(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
|
||||
pub extern "c" fn __cap_rights_remove(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
|
||||
pub extern "c" fn __cap_rights_contains(dst: ?*const cap_rights_t, src: ?*const cap_rights_t) bool;
|
||||
pub extern "c" fn __cap_rights_is_set(rights: ?*const cap_rights_t, ...) bool;
|
||||
pub extern "c" fn cap_rights_merge(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
|
||||
pub extern "c" fn cap_rights_remove(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
|
||||
pub extern "c" fn cap_rights_contains(dst: ?*const cap_rights_t, src: ?*const cap_rights_t) bool;
|
||||
pub extern "c" fn cap_rights_is_valid(rights: ?*const cap_rights_t) bool;
|
||||
pub extern "c" fn __cap_rights_is_valid(rights: ?*const cap_rights_t) bool;
|
||||
|
||||
pub const kinfo_file = extern struct {
|
||||
/// Size of this record.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user