DoxigAlpha

pledge

Function parameters

Parameters

#
promises:?[*:0]const u8
execpromises:?[*:0]const u8

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

= switch (builtin.cpu.arch) { .x86 => 12, .sparc64 => 13, }

Values

#
MAX_PAGE_SHIFT
= switch (builtin.cpu.arch) { .x86 => 12, .sparc64 => 13, }
PTHREAD_STACK_MIN
= switch (builtin.cpu.arch) { .sparc64 => 1 << 13, .mips64 => 1 << 14, else => 1 << 12, }

Source

Implementation

#
pub extern "c" fn pledge(promises: ?[*:0]const u8, execpromises: ?[*:0]const u8) c_int