char * strdup(const char *str)
Duplicate a string.
C size_t strlen(const char *str)
Calculate the length of a string.
C void * memcpy(void *dest, const void *src, size_t count)
Copy memory from one place to another.
C void * malloc(size_t size)
A memory allocator.
#define NULL
NULL means zero.
void copy(Terminal *term, const teken_rect_t *rect, const teken_pos_t *pos)
Copy bytes to the terminal.