Next:
9.1 Introduction
Up:
Part III: Function Libraries
Previous:
Part III: Function Libraries
9 Minimal C Library:
liboskit_c.a
9.1 Introduction
9.2 Extended POSIX Support
9.3 Unsupported Features
9.4 Header Files
9.4.1
a.out.h
: semi-standard
a.out
file format definitions
9.4.2
alloca.h
: explicit stack-based memory allocation
9.4.3
assert.h
: program diagnostics facility
9.4.4
ctype.h
: character handling functions
9.4.5
errno.h
: error numbers
9.4.6
fcntl.h
: POSIX low-level file control
9.4.7
float.h
: constants describing floating-point types
9.4.8
limits.h
: architecture-specific limits
9.4.9
malloc.h
: memory allocator definitions
9.4.10
math.h
: floating-point math functions and constants
9.4.11
netdb.h
: definitions for network database operations
9.4.12
setjmp.h
: nonlocal jumps
9.4.13
signal.h
: signal handling
9.4.14
stdarg.h
: variable arguments
9.4.15
stddef.h
: common definitions
9.4.16
stdio.h
: standard input/output
9.4.17
stdlib.h
: standard library functions
9.4.18
string.h
: string handling functions
9.4.19
strings.h
: string handling functions (deprecated)
9.4.20
sys/gmon.h
: GNU profiling support definitions
9.4.21
sys/ioctl.h
: I/O control definitions
9.4.22
sys/mman.h
: memory management and mapping definitions
9.4.23
sys/reboot.h
: reboot definitions (deprecated)
9.4.24
sys/signal.h
: signal handling (deprecated)
9.4.25
sys/stat.h
: file operations
9.4.26
sys/termios.h
: terminal handling functions and definitions (deprecated)
9.4.27
sys/time.h
: timing functions
9.4.28
sys/wait.h
: a POSIX wait specification
9.4.29
sys/types.h
: general POSIX types
9.4.30
termios.h
: terminal handling functions and definitions
9.4.31
unistd.h
: POSIX standard symbolic constants
9.5 Memory Allocation
9.5.1
malloc_lmm
: LMM pool used by the default memory allocation functions
9.5.2
malloc
: allocate uninitialized memory
9.5.3
mustmalloc
: allocate uninitialized memory and panic on failure
9.5.4
memalign
: allocate aligned uninitialized memory
9.5.5
calloc
: allocate cleared memory
9.5.6
mustcalloc
: allocate cleared memory and panic on failure
9.5.7
realloc
: change the size of an existing memory block
9.5.8
free
: release an allocated memory block
9.5.9
smalloc
: allocated uninitialized memory with explicit size
9.5.10
smemalign
: allocate aligned memory with explicit size
9.5.11
sfree
: release a memory block with explicit size
9.5.12
mallocf
: allocate uninitialized memory with explicit LMM flags
9.5.13
memalignf
: allocate aligned uninitialized memory with explict LMM flags
9.5.14
smallocf
: allocated uninitialized memory with explicit size and LMM flags
9.5.15
smemalignf
: allocate aligned memory with explicit size and LMM flags
9.5.16
morecore
: add memory to
malloc
memory pool
9.5.17
mem_lock
: Lock access to
malloc
memory pool
9.5.18
mem_unlock
: Unlock access to
malloc
memory pool
9.6 Standard I/O Functions
9.7 Termination Functions
9.7.1
exit
: terminate normally
9.7.2
abort
: terminate abnormally
9.7.3
panic
: terminate abnormally with an error message
9.8 Miscellaneous Functions
9.8.1
ntohl
: convert 32-bit long word from network byte order
9.8.2
ntohs
: convert 16-bit short word from network byte order
9.8.3
hexdump
: print a buffer as a hexdump
9.9 Extended POSIX Support Initialization Functions
9.9.1
oskit_init_libc
: Initialize the OSKit C library
9.9.2
fd_set_console
: initialize
stdin
,
stdout
and
stderr
9.9.3
set_system_clock
: initialize clock support
9.9.4
fs_init
: Provide a root directory defining the file system namespace
9.9.5
fs_release
: Release root and current directory references
9.9.6
fs_mount, fs_unmount
: Compose file system name spaces
University of Utah Flux Research Group