fd_t openf(const char *_RESTRICT format,...)
Wrapper for opening files with a formatted path.
#define NULL
Pointer error value.
#define ERR
Integer error value.
__UINT64_TYPE__ fd_t
A file descriptor.
_thread_t * _thread_new(_thread_entry_t entry, void *private)
#define _THREAD_ENTRY_ATTRIBUTES
_PUBLIC void * malloc(size_t size)
_PUBLIC void free(void *ptr)
int thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
static _THREAD_ENTRY_ATTRIBUTES void _thread_entry(_thread_t *thread)
int(* thrd_start_t)(void *)
_PUBLIC _NORETURN void thrd_exit(int res)