DoxigAlpha

login_getcapnum

Function parameters

Parameters

#
lc:*login_cap_t
cap:[*:0]const u8
def:i64
err:i64

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 login_getcapnum(lc: *login_cap_t, cap: [*:0]const u8, def: i64, err: i64) i64