login_getstyle
Function parameters
Parameters
- lc:*login_cap_t
- style:?[*:0]const u8
- atype:?[*: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 login_getstyle(lc: *login_cap_t, style: ?[*:0]const u8, atype: ?[*:0]const u8) ?[*:0]const u8