The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
include Directory Reference

Directories

 
arpa
 
net
 
netinet
 
sys

Files

 
assert.h
 assert(): with NDEBUG defined it checks nothing.
 
crypt.h
 password hashes: crypt() with the SHA-crypt "$5$" scheme (SHA-256), the one glibc and "openssl passwd -5" make.
 
ctype.h
 character classes (the C locale, ASCII).
 
dirent.h
 reading directories: opendir, readdir, closedir.
 
dlfcn.h
 loading shared libraries at run time.
 
errno.h
 
fb.h
 userspace access to the linear framebuffer.
 
fcntl.h
 file open flags and open().
 
fnmatch.h
 shell patterns ("*.c", "[a-z]?"): fnmatch is musl's (see src/libc/src/regex/README.md).
 
grp.h
 the group database (/etc/group: name:password:gid:members).
 
inttypes.h
 printf formats for the stdint.h types.
 
langinfo.h
 facts about the locale.
 
libgen.h
 the parts of a path.
 
limits.h
 sizes of the integer types and system limits.
 
locale.h
 locales.
 
math.h
 floating-point functions (double, and float with an f).
 
netdb.h
 names of hosts and services: getaddrinfo and the older calls.
 
poll.h
 waiting for file descriptors to become ready.
 
pthread.h
 POSIX threads: start, wait for and end threads; mutexes, condition variables, read-write locks, barriers, spin locks, one-time initialization and thread-specific data.
 
pty.h
 open a pseudo-terminal pair, and make one a process's terminal.
 
pwd.h
 the user database (/etc/passwd: name:password:uid:gid:gecos:home:shell).
 
regex.h
 POSIX regular expressions, basic (BRE) and extended (ERE).
 
sched.h
 the scheduler: give up the CPU.
 
search.h
 search trees (tsearch: a balanced tree of pointers the caller owns) and linear search in an array.
 
semaphore.h
 unnamed POSIX semaphores, for the threads of one process.
 
setjmp.h
 non-local jumps.
 
sha2.h
 SHA-256 (FIPS 180-4) in steps, for data that does not fit in memory at one time.
 
shadow.h
 the password hashes (/etc/shadow: name:hash:last:min:max:warn: inactive:expire:), which only root can read.
 
signal.h
 signals: kill, sigaction, masks.
 
stdarg.h
 variable argument lists (the compiler's builtins).
 
stdbool.h
 bool, true and false.
 
stddef.h
 NULL, size_t, ptrdiff_t, offsetof.
 
stdint.h
 integer types of fixed width.
 
stdio.h
 buffered streams and formatted input/output.
 
stdlib.h
 This file contains the declarations of general utility functions.
 
string.h
 This file contains the declarations of string manipulation functions.
 
strings.h
 strcasecmp and strncasecmp (declared in string.h).
 
syscall.h
 This file contains the declarations of system call numbers and the raw syscall interface.
 
syslog.h
 the system log: ginnOS writes each message to the kernel log (/dev/kmsg), with the name, the pid and the level before it.
 
termios.h
 terminal settings.
 
time.h
 clocks, sleeping and calendar time (UTC only: there are no time zones, so local time is UTC).
 
unistd.h
 This file contains the declarations of POSIX-like system call wrappers.
 
utime.h
 utime: set a file's times in whole seconds (the older call; see utimensat in <sys/stat.h>).
 
wchar.h
 wide characters.
 
wctype.h
 the classes of wide characters (Unicode code points).