LibC Reference
TilekarOS includes a minimal libc implementation for kernel and future user-space use.
1. stdio.h (Standard Input/Output)
printf
Supports basic format specifiers: %s, %c, %d, %x.
puts
Writes a string and a newline to stdout.
putchar
Writes a single character to stdout.
2. string.h (String Manipulation)
memcpy
Copies n bytes from src to dest.
memmove
Copies n bytes from src to dest, handling overlapping memory regions safely.
memset
Fills memory with a constant byte.
memcmp
Compares the first n bytes of two memory areas.
strlen
Calculates the length of a string.
strcmp
Compares two strings.
strcpy
Copies a string from src to dest.