core/os/old

os_old

Types

29

Dirent

Dirent :: struct { ino: u64, off: u64, reclen: u16, type: u8, name: [256]u8, }Source

NOTE(laleksic, 2021-01-21): Comment and rename these to match OS_Stat above

General_Error

General_Error :: enum u32 { None = 0, Exist = 1, Not_Exist = 2, Timeout = 3, Broken_Pipe = 4, Invalid_File = 5, Invalid_Dir = 6, Invalid_Path = 7, Invalid_Callback = 8, Pattern_Has_Separator = 9, File_Is_Pipe = 10, Not_Dir = 11, // Environment variable not found. Env_Var_Not_Found = 12, }Source

SIOCGIFFLAG

SIOCGIFFLAG :: enum c.int { UP = 0, // Interface is up. BROADCAST = 1, // Broadcast address valid. DEBUG = 2, // Turn on debugging. LOOPBACK = 3, // Is a loopback net. POINT_TO_POINT = 4, // Interface is point-to-point link. NO_TRAILERS = 5, // Avoid use of trailers. RUNNING = 6, // Resources allocated. NOARP = 7, // No address resolution protocol. PROMISC = 8, // Receive all packets. ALL_MULTI = 9, // Receive all multicast packets. Unimplemented. MASTER = 10, // Master of a load balancer. SLAVE = 11, // Slave of a load balancer. MULTICAST = 12, // Supports multicast. PORTSEL = 13, // Can set media type. AUTOMEDIA = 14, // Auto media select active. DYNAMIC = 15, // Dialup device with changing addresses. LOWER_UP = 16, DORMANT = 17, ECHO = 18, }Source

Constants

242

F_GETFL

F_GETFL :: int = 3Source

TODO: add remaining fcntl commands reference: https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/fcntl.h

Variables

4

args

args :: _ = _alloc_command_line_arguments()Source

"Argv" arguments converted to Odin strings

Procedures

91

Procedure Groups

6

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.