Skip to content

Instantly share code, notes, and snippets.

@PewZ
Last active December 20, 2024 21:17
Show Gist options
  • Save PewZ/8b473c2a6888c5c528635550d07c6186 to your computer and use it in GitHub Desktop.
Save PewZ/8b473c2a6888c5c528635550d07c6186 to your computer and use it in GitHub Desktop.
List of all libc functions.
time_t time (time_t *result)
int stime (const time_t *newtime)
int fcntl (int filedes, int command, ...)
size_t mbstowcs (wchar_t *wstring, const char *string, size_t size)
size_t wcstombs (char *string, const wchar_t *wstring, size_t size)
int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
int sched_getscheduler (pid_t pid)
int sched_setparam (pid_t pid, const struct sched_param *param)
int sched_getparam (pid_t pid, struct sched_param *param)
int sched_get_priority_min (int policy)
int sched_get_priority_max (int policy)
int sched_rr_get_interval (pid_t pid, struct timespec *interval)
int sched_yield (void)
FILE * fopencookie (void *cookie, const char *opentype, cookie_io_functions_t io-functions)
double sinh (double x)
float sinhf (float x)
long double sinhl (long double x)
double cosh (double x)
float coshf (float x)
long double coshl (long double x)
double tanh (double x)
float tanhf (float x)
long double tanhl (long double x)
complex double csinh (complex double z)
complex float csinhf (complex float z)
complex long double csinhl (complex long double z)
complex double ccosh (complex double z)
complex float ccoshf (complex float z)
complex long double ccoshl (complex long double z)
complex double ctanh (complex double z)
complex float ctanhf (complex float z)
complex long double ctanhl (complex long double z)
double asinh (double x)
float asinhf (float x)
long double asinhl (long double x)
double acosh (double x)
float acoshf (float x)
long double acoshl (long double x)
double atanh (double x)
float atanhf (float x)
long double atanhl (long double x)
complex double casinh (complex double z)
complex float casinhf (complex float z)
complex long double casinhl (complex long double z)
complex double cacosh (complex double z)
complex float cacoshf (complex float z)
complex long double cacoshl (complex long double z)
complex double catanh (complex double z)
complex float catanhf (complex float z)
complex long double catanhl (complex long double z)
char * bind_textdomain_codeset (const char *domainname, const char *codeset)
void abort (void)
char * strncpy (char *restrict to, const char *restrict from, size_t size)
wchar_t * wcsncpy (wchar_t *restrict wto, const wchar_t *restrict wfrom, size_t size)
char * strndup (const char *s, size_t size)
char * stpncpy (char *restrict to, const char *restrict from, size_t size)
wchar_t * wcpncpy (wchar_t *restrict wto, const wchar_t *restrict wfrom, size_t size)
char * strncat (char *restrict to, const char *restrict from, size_t size)
wchar_t * wcsncat (wchar_t *restrict wto, const wchar_t *restrict wfrom, size_t size)
void sync (void)
int fsync (int fildes)
int fdatasync (int fildes)
int stat (const char *filename, struct stat *buf)
int stat64 (const char *filename, struct stat64 *buf)
int fstat (int filedes, struct stat *buf)
int fstat64 (int filedes, struct stat64 *buf)
int lstat (const char *filename, struct stat *buf)
int lstat64 (const char *filename, struct stat64 *buf)
int pipe (int filedes<tt>[2]</tt>)
int brk (void *addr)
void *sbrk (ptrdiff_t delta)
void * mmap (void *address, size_t length, int protect, int flags, int filedes, off_t offset)
void * mmap64 (void *address, size_t length, int protect, int flags, int filedes, off64_t offset)
int munmap (void *addr, size_t length)
int msync (void *address, size_t length, int flags)
void * mremap (void *address, size_t length, size_t new_length, int flag)
int madvise (void *addr, size_t length, int advice)
int shm_open (const char *name, int oflag, mode_t mode)
int shm_unlink (const char *name)
int execv (const char *filename, char *const argv<tt>[]</tt>)
int execl (const char *filename, const char *arg0, ...)
int execve (const char *filename, char *const argv<tt>[]</tt>, char *const env<tt>[]</tt>)
int execle (const char *filename, const char *arg0, ..., char *const env<tt>[]</tt>)
int execvp (const char *filename, char *const argv<tt>[]</tt>)
int execlp (const char *filename, const char *arg0, ...)
sighandler_t signal (int signum, sighandler_t action)
sighandler_t sysv_signal (int signum, sighandler_t action)
sighandler_t ssignal (int signum, sighandler_t action)
double creal (complex double z)
float crealf (complex float z)
long double creall (complex long double z)
double cimag (complex double z)
float cimagf (complex float z)
long double cimagl (complex long double z)
complex double conj (complex double z)
complex float conjf (complex float z)
complex long double conjl (complex long double z)
double carg (complex double z)
float cargf (complex float z)
long double cargl (complex long double z)
complex double cproj (complex double z)
complex float cprojf (complex float z)
complex long double cprojl (complex long double z)
int pause (void)
struct servent * getservbyname (const char *name, const char *proto)
struct servent * getservbyport (int port, const char *proto)
void setservent (int stayopen)
struct servent * getservent (void)
void endservent (void)
int getopt (int argc, char *const *argv, const char *options)
error_t argp_parse (const struct argp *argp, int argc, char **argv, unsigned flags, int *arg_index, void *input)
void openlog (const char *ident, int option, int facility)
int gtty (int filedes, struct sgttyb *attributes)
int stty (int filedes, const struct sgttyb *attributes)
int mkdir (const char *filename, mode_t mode)
int memcmp (const void *a1, const void *a2, size_t size)
int wmemcmp (const wchar_t *a1, const wchar_t *a2, size_t size)
int strcmp (const char *s1, const char *s2)
int wcscmp (const wchar_t *ws1, const wchar_t *ws2)
int strcasecmp (const char *s1, const char *s2)
int wcscasecmp (const wchar_t *ws1, const wchar_t *ws2)
int strncmp (const char *s1, const char *s2, size_t size)
int wcsncmp (const wchar_t *ws1, const wchar_t *ws2, size_t size)
int strncasecmp (const char *s1, const char *s2, size_t n)
int wcsncasecmp (const wchar_t *ws1, const wchar_t *s2, size_t n)
int strverscmp (const char *s1, const char *s2)
int bcmp (const void *a1, const void *a2, size_t size)
struct dirent * readdir (DIR *dirstream)
int readdir_r (DIR *dirstream, struct dirent *entry, struct dirent **result)
struct dirent64 * readdir64 (DIR *dirstream)
int readdir64_r (DIR *dirstream, struct dirent64 *entry, struct dirent64 **result)
int closedir (DIR *dirstream)
void * memchr (const void *block, int c, size_t size)
wchar_t * wmemchr (const wchar_t *block, wchar_t wc, size_t size)
void * rawmemchr (const void *block, int c)
void * memrchr (const void *block, int c, size_t size)
char * strchr (const char *string, int c)
wchar_t * wcschr (const wchar_t *wstring, int wc)
char * strchrnul (const char *string, int c)
wchar_t * wcschrnul (const wchar_t *wstring, wchar_t wc)
char * strrchr (const char *string, int c)
wchar_t * wcsrchr (const wchar_t *wstring, wchar_t c)
char * strstr (const char *haystack, const char *needle)
wchar_t * wcsstr (const wchar_t *haystack, const wchar_t *needle)
wchar_t * wcswcs (const wchar_t *haystack, const wchar_t *needle)
char * strcasestr (const char *haystack, const char *needle)
void * memmem (const void *haystack, size_t haystack-len,<br>const void *needle, size_t needle-len)
size_t strspn (const char *string, const char *skipset)
size_t wcsspn (const wchar_t *wstring, const wchar_t *skipset)
size_t strcspn (const char *string, const char *stopset)
size_t wcscspn (const wchar_t *wstring, const wchar_t *stopset)
char * strpbrk (const char *string, const char *stopset)
wchar_t * wcspbrk (const wchar_t *wstring, const wchar_t *stopset)
char * index (const char *string, int c)
char * rindex (const char *string, int c)
FILE * fmemopen (void *buf, size_t size, const char *opentype)
FILE * open_memstream (char **ptr, size_t *sizeloc)
ssize_t getline (char **lineptr, size_t *n, FILE *stream)
ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *stream)
char * fgets (char *s, int count, FILE *stream)
wchar_t * fgetws (wchar_t *ws, int count, FILE *stream)
char * fgets_unlocked (char *s, int count, FILE *stream)
wchar_t * fgetws_unlocked (wchar_t *ws, int count, FILE *stream)
int wordexp (const char *words, wordexp_t *word-vector-ptr, int flags)
void wordfree (wordexp_t *word-vector-ptr)
int sigaltstack (const stack_t *restrict stack, stack_t *restrict oldstack)
int sigstack (struct sigstack *stack, struct sigstack *oldstack)
int siginterrupt (int signum, int failflag)
int sigblock (int mask)
int sigsetmask (int mask)
int sigpause (int mask)
struct lconv * localeconv (void)
void obstack_free (struct obstack *obstack-ptr, void *object)
void * aligned_alloc (size_t alignment, size_t size)
void * memalign (size_t boundary, size_t size)
int posix_memalign (void **memptr, size_t alignment, size_t size)
void * valloc (size_t size)
int posix_fallocate (int fd, off_t offset, off_t length)
int posix_fallocate64 (int fd, off64_t offset, off64_t length)
char * setlocale (int category, const char *locale)
int pthread_key_create (pthread_key_t *key, void (*destructor)(void*))
int pthread_key_delete (pthread_key_t key)
void *pthread_getspecific (pthread_key_t key)
int pthread_setspecific (pthread_key_t key, const void *value)
int tolower (int c)
int toupper (int c)
int toascii (int c)
int _tolower (int c)
int _toupper (int c)
pid_t waitpid (pid_t pid, int *status-ptr, int options)
pid_t wait (int *status-ptr)
pid_t wait4 (pid_t pid, int *status-ptr, int options, struct rusage *usage)
void _exit (int status)
void _Exit (int status)
int rpmatch (const char *response)
void tzset (void)
int sched_getaffinity (pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
int sched_setaffinity (pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
pid_t setsid (void)
pid_t getsid (pid_t pid)
pid_t getpgrp (void)
int getpgid (pid_t pid)
int setpgid (pid_t pid, pid_t pgid)
int setpgrp (pid_t pid, pid_t pgid)
void obstack_blank (struct obstack *obstack-ptr, int size)
void obstack_grow (struct obstack *obstack-ptr, void *data, int size)
void obstack_grow0 (struct obstack *obstack-ptr, void *data, int size)
void obstack_1grow (struct obstack *obstack-ptr, char c)
void obstack_ptr_grow (struct obstack *obstack-ptr, void *data)
void obstack_int_grow (struct obstack *obstack-ptr, int data)
void * obstack_finish (struct obstack *obstack-ptr)
int obstack_object_size (struct obstack *obstack-ptr)
void qsort (void *array, size_t count, size_t size, comparison_fn_t compare)
long int syscall (long int sysno, ...)
FILE * setmntent (const char *file, const char *mode)
int endmntent (FILE *stream)
struct mntent * getmntent (FILE *stream)
struct mntent * getmntent_r (FILE *stream, struct mntent *result, char *buffer, int bufsize)
int addmntent (FILE *stream, const struct mntent *mnt)
char * hasmntopt (const struct mntent *mnt, const char *opt)
int ntp_gettime (struct ntptimeval *tptr)
int ntp_adjtime (struct timex *tptr)
void * memcpy (void *restrict to, const void *restrict from, size_t size)
wchar_t * wmemcpy (wchar_t *restrict wto, const wchar_t *restrict wfrom, size_t size)
void * mempcpy (void *restrict to, const void *restrict from, size_t size)
wchar_t * wmempcpy (wchar_t *restrict wto, const wchar_t *restrict wfrom, size_t size)
void * memmove (void *to, const void *from, size_t size)
wchar_t * wmemmove (wchar_t *wto, const wchar_t *wfrom, size_t size)
void * memccpy (void *restrict to, const void *restrict from, int c, size_t size)
void * memset (void *block, int c, size_t size)
wchar_t * wmemset (wchar_t *block, wchar_t wc, size_t size)
char * strcpy (char *restrict to, const char *restrict from)
wchar_t * wcscpy (wchar_t *restrict wto, const wchar_t *restrict wfrom)
char * strdup (const char *s)
wchar_t * wcsdup (const wchar_t *ws)
char * stpcpy (char *restrict to, const char *restrict from)
wchar_t * wcpcpy (wchar_t *restrict wto, const wchar_t *restrict wfrom)
void bcopy (const void *from, void *to, size_t size)
void bzero (void *block, size_t size)
char * ecvt (double value, int ndigit, int *decpt, int *neg)
char * fcvt (double value, int ndigit, int *decpt, int *neg)
char * gcvt (double value, int ndigit, char *buf)
char * qecvt (long double value, int ndigit, int *decpt, int *neg)
char * qfcvt (long double value, int ndigit, int *decpt, int *neg)
char * qgcvt (long double value, int ndigit, char *buf)
int ecvt_r (double value, int ndigit, int *decpt, int *neg, char *buf, size_t len)
int fcvt_r (double value, int ndigit, int *decpt, int *neg, char *buf, size_t len)
int qecvt_r (long double value, int ndigit, int *decpt, int *neg, char *buf, size_t len)
int qfcvt_r (long double value, int ndigit, int *decpt, int *neg, char *buf, size_t len)
int open (const char *filename, int flags[, mode_t mode])
int open64 (const char *filename, int flags[, mode_t mode])
int close (int filedes)
int semctl (int semid, int semnum, int cmd);
int semget (key_t key, int nsems, int semflg);
int semop (int semid, struct sembuf *sops, size_t nsops);
int semtimedop (int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout);
int sem_init (sem_t *sem, int pshared, unsigned int value);
int sem_destroy (sem_t *sem);
sem_t *sem_open (const char *name, int oflag, ...);
int sem_close (sem_t *sem);
int sem_unlink (const char *name);
int sem_wait (sem_t *sem);
int sem_timedwait (sem_t *sem, const struct timespec *abstime);
int sem_trywait (sem_t *sem);
int sem_post (sem_t *sem);
int sem_getvalue (sem_t *sem, int *sval);
int mknod (const char *filename, mode_t mode, dev_t dev)
DIR * opendir (const char *dirname)
DIR * fdopendir (int fd)
int dirfd (DIR *dirstream)
size_t strlen (const char *s)
size_t wcslen (const wchar_t *ws)
size_t strnlen (const char *s, size_t maxlen)
size_t wcsnlen (const wchar_t *ws, size_t maxlen)
int setvbuf (FILE *stream, char *buf, int mode, size_t size)
void setbuf (FILE *stream, char *buf)
void setbuffer (FILE *stream, char *buf, size_t size)
void setlinebuf (FILE *stream)
int __flbf (FILE *stream)
size_t __fbufsize (FILE *stream)
size_t __fpending (FILE *stream)
long int random (void)
void srandom (unsigned int seed)
char * initstate (unsigned int seed, char *state, size_t size)
char * setstate (char *state)
int random_r (struct random_data *restrict buf, int32_t *restrict result)
int srandom_r (unsigned int seed, struct random_data *buf)
int initstate_r (unsigned int seed, char *restrict statebuf, size_t statelen, struct random_data *restrict buf)
int setstate_r (char *restrict statebuf, struct random_data *restrict buf)
int unlink (const char *filename)
int rmdir (const char *filename)
int remove (const char *filename)
int utime (const char *filename, const struct utimbuf *times)
int utimes (const char *filename, const struct timeval tvp<tt>[2]</tt>)
int lutimes (const char *filename, const struct timeval tvp<tt>[2]</tt>)
int futimes (int fd, const struct timeval tvp<tt>[2]</tt>)
int fclose (FILE *stream)
int fcloseall (void)
double erf (double x)
float erff (float x)
long double erfl (long double x)
double erfc (double x)
float erfcf (float x)
long double erfcl (long double x)
double lgamma (double x)
float lgammaf (float x)
long double lgammal (long double x)
double lgamma_r (double x, int *signp)
float lgammaf_r (float x, int *signp)
long double lgammal_r (long double x, int *signp)
double gamma (double x)
float gammaf (float x)
long double gammal (long double x)
double tgamma (double x)
float tgammaf (float x)
long double tgammal (long double x)
double j0 (double x)
float j0f (float x)
long double j0l (long double x)
double j1 (double x)
float j1f (float x)
long double j1l (long double x)
double jn (int n, double x)
float jnf (int n, float x)
long double jnl (int n, long double x)
double y0 (double x)
float y0f (float x)
long double y0l (long double x)
double y1 (double x)
float y1f (float x)
long double y1l (long double x)
double yn (int n, double x)
float ynf (int n, float x)
long double ynl (int n, long double x)
int getrlimit (int resource, struct rlimit *rlp)
int getrlimit64 (int resource, struct rlimit64 *rlp)
int setrlimit (int resource, const struct rlimit *rlp)
int setrlimit64 (int resource, const struct rlimit64 *rlp)
long int ulimit (int cmd, ...)
int vlimit (int resource, int limit)
struct protoent * getprotobyname (const char *name)
struct protoent * getprotobynumber (int protocol)
void setprotoent (int stayopen)
struct protoent * getprotoent (void)
void endprotoent (void)
void * memfrob (void *mem, size_t length)
char * getlogin (void)
char * cuserid (char *string)
int rename (const char *oldname, const char *newname)
int getsockname (int socket, struct sockaddr *addr, socklen_t *length-ptr)
unsigned int if_nametoindex (const char *ifname)
char * if_indextoname (unsigned int ifindex, char *ifname)
struct if_nameindex * if_nameindex (void)
void if_freenameindex (struct if_nameindex *ptr)
ssize_t send (int socket, const void *buffer, size_t size, int flags)
int gettimeofday (struct timeval *tp, struct timezone *tzp)
int settimeofday (const struct timeval *tp, const struct timezone *tzp)
int adjtime (const struct timeval *delta, struct timeval *olddelta)
int adjtimex (struct timex *timex)
int setegid (gid_t newgid)
int setgid (gid_t newgid)
int setregid (gid_t rgid, gid_t egid)
int setgroups (size_t count, const gid_t *groups)
int initgroups (const char *user, gid_t group)
int getgrouplist (const char *user, gid_t group, gid_t *groups, int *ngroups)
int fegetenv (fenv_t *envp)
int feholdexcept (fenv_t *envp)
int fesetenv (const fenv_t *envp)
int feupdateenv (const fenv_t *envp)
int fegetmode (femode_t *modep)
int fesetmode (const femode_t *modep)
int feenableexcept (int excepts)
int fedisableexcept (int excepts)
int fegetexcept (void)
char * crypt (const char *key, const char *salt)
char * crypt_r (const char *key, const char *salt, struct crypt_data * data)
void * lfind (const void *key, const void *base, size_t *nmemb, size_t size, comparison_fn_t compar)
void * lsearch (const void *key, void *base, size_t *nmemb, size_t size, comparison_fn_t compar)
void * bsearch (const void *key, const void *array, size_t count, size_t size, comparison_fn_t compare)
int aio_read (struct aiocb *aiocbp)
int aio_read64 (struct aiocb64 *aiocbp)
int aio_write (struct aiocb *aiocbp)
int aio_write64 (struct aiocb64 *aiocbp)
int lio_listio (int mode, struct aiocb *const list[], int nent, struct sigevent *sig)
int lio_listio64 (int mode, struct aiocb64 *const list[], int nent, struct sigevent *sig)
int accept (int socket, struct sockaddr *addr, socklen_t *length_ptr)
ssize_t strfmon (char *s, size_t maxsize, const char *format, ...)
void setkey (const char *key)
void encrypt (char *block, int edflag)
void setkey_r (const char *key, struct crypt_data * data)
void encrypt_r (char *block, int edflag, struct crypt_data * data)
int ecb_crypt (char *key, char *blocks, unsigned int len, unsigned int mode)
int DES_FAILED (int err)
int cbc_crypt (char *key, char *blocks, unsigned int len, unsigned int mode, char *ivec)
void des_setparity (char *key)
double copysign (double x, double y)
float copysignf (float x, float y)
long double copysignl (long double x, long double y)
int signbit (float-type x)
double nextafter (double x, double y)
float nextafterf (float x, float y)
long double nextafterl (long double x, long double y)
double nexttoward (double x, long double y)
float nexttowardf (float x, long double y)
long double nexttowardl (long double x, long double y)
double nextup (double x)
float nextupf (float x)
long double nextupl (long double x)
double nextdown (double x)
float nextdownf (float x)
long double nextdownl (long double x)
double nan (const char *tagp)
float nanf (const char *tagp)
long double nanl (const char *tagp)
int canonicalize (double *cx, const double *x)
int canonicalizef (float *cx, const float *x)
int canonicalizel (long double *cx, const long double *x)
double getpayload (const double *x)
float getpayloadf (const float *x)
long double getpayloadl (const long double *x)
int setpayload (double *x, double payload)
int setpayloadf (float *x, float payload)
int setpayloadl (long double *x, long double payload)
int setpayloadsig (double *x, double payload)
int setpayloadsigf (float *x, float payload)
int setpayloadsigl (long double *x, long double payload)
error_t argz_create (char *const argv[], char **argz, size_t *argz_len)
error_t argz_create_sep (const char *string, int sep, char **argz, size_t *argz_len)
size_t argz_count (const char *argz, size_t argz_len)
void argz_extract (const char *argz, size_t argz_len, char **argv)
void argz_stringify (char *argz, size_t len, int sep)
error_t argz_add (char **argz, size_t *argz_len, const char *str)
error_t argz_add_sep (char **argz, size_t *argz_len, const char *str, int delim)
error_t argz_append (char **argz, size_t *argz_len, const char *buf, size_t buf_len)
void argz_delete (char **argz, size_t *argz_len, char *entry)
error_t argz_insert (char **argz, size_t *argz_len, char *before, const char *entry)
char * argz_next (const char *argz, size_t argz_len, const char *entry)
error_t argz_replace (char&nbsp;**argz,&nbsp;<span class="nolinebreak">size_t</span>&nbsp;*<span class="nolinebreak">argz_len</span><!-- /@w -->, const&nbsp;char&nbsp;*str,&nbsp;const&nbsp;char&nbsp;*with<!-- /@w -->, unsigned&nbsp;*<span class="nolinebreak">replace_count</span><!-- /@w -->)
int vprintf (const char *template, va_list ap)
int vwprintf (const wchar_t *template, va_list ap)
int vfprintf (FILE *stream, const char *template, va_list ap)
int vfwprintf (FILE *stream, const wchar_t *template, va_list ap)
int vsprintf (char *s, const char *template, va_list ap)
int vswprintf (wchar_t *ws, size_t size, const wchar_t *template, va_list ap)
int vsnprintf (char *s, size_t size, const char *template, va_list ap)
int vasprintf (char **ptr, const char *template, va_list ap)
int obstack_vprintf (struct obstack *obstack, const char *template, va_list ap)
int login_tty (int filedes)
void login (const struct utmp *entry)
int logout (const char *ut_line)
void logwtmp (const char *ut_line, const char *ut_name, const char *ut_host)
wctype_t wctype (const char *property)
int iswctype (wint_t wc, wctype_t desc)
int iswalnum (wint_t wc)
int iswalpha (wint_t wc)
int iswcntrl (wint_t wc)
int iswdigit (wint_t wc)
int iswgraph (wint_t wc)
int iswlower (wint_t wc)
int iswprint (wint_t wc)
int iswpunct (wint_t wc)
int iswspace (wint_t wc)
int iswupper (wint_t wc)
int iswxdigit (wint_t wc)
int iswblank (wint_t wc)
int innetgr (const char *netgroup, const char *host, const char *user, const char *domain)
int atexit (void (*function) (void))
int on_exit (void (*function)(int status, void *arg), void *arg)
int chown (const char *filename, uid_t owner, gid_t group)
int fchown (int filedes, uid_t owner, gid_t group)
int system (const char *command)
void setutxent (void)
struct utmpx * getutxent (void)
void endutxent (void)
struct utmpx * getutxid (const struct utmpx *id)
struct utmpx * getutxline (const struct utmpx *line)
struct utmpx * pututxline (const struct utmpx *utmp)
int utmpxname (const char *file)
int getutmp (const struct utmpx *utmpx, struct utmp *utmp)
int getutmpx (const struct utmp *utmp, struct utmpx *utmpx)
double difftime (time_t time1, time_t time0)
char * strsignal (int signum)
void psignal (int signum, const char *message)
int socketpair (int namespace, int style, int protocol, int filedes<tt>[2]</tt>)
void * calloc (size_t count, size_t eltsize)
int getsubopt (char **optionp, char *const *tokens, char **valuep)
char * strptime (const char *s, const char *fmt, struct tm *tp)
int tcsendbreak (int filedes, int duration)
int tcdrain (int filedes)
int tcflush (int filedes, int queue)
int tcflow (int filedes, int action)
uint16_t htons (uint16_t hostshort)
uint16_t ntohs (uint16_t netshort)
uint32_t htonl (uint32_t hostlong)
uint32_t ntohl (uint32_t netlong)
int register_printf_function (int spec, printf_function handler-function, printf_arginfo_function arginfo-function)
void * obstack_alloc (struct obstack *obstack-ptr, int size)
void * obstack_copy (struct obstack *obstack-ptr, void *address, int size)
void * obstack_copy0 (struct obstack *obstack-ptr, void *address, int size)
int fmtmsg (long int classification, const char *label, int severity, const char *text, const char *action, const char *tag)
int sigsetjmp (sigjmp_buf state, int savesigs)
void siglongjmp (sigjmp_buf state, int value)
void explicit_bzero (void *block, size_t len)
void globfree (glob_t *pglob)
void globfree64 (glob64_t *pglob)
int isatty (int filedes)
char * ttyname (int filedes)
int ttyname_r (int filedes, char *buf, size_t len)
char * envz_entry (const char *envz, size_t envz_len, const char *name)
char * envz_get (const char *envz, size_t envz_len, const char *name)
error_t envz_add (char **envz, size_t *envz_len, const char *name, const char *value)
error_t envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len, int override)
void envz_strip (char **envz, size_t *envz_len)
void envz_remove (char **envz, size_t *envz_len, const char *name)
size_t confstr (int parameter, char *buf, size_t len)
struct mallinfo mallinfo (void)
char * gettext (const char *msgid)
char * dgettext (const char *domainname, const char *msgid)
char * dcgettext (const char *domainname, const char *msgid, int category)
int fgetc (FILE *stream)
wint_t fgetwc (FILE *stream)
int fgetc_unlocked (FILE *stream)
wint_t fgetwc_unlocked (FILE *stream)
int getc (FILE *stream)
wint_t getwc (FILE *stream)
int getc_unlocked (FILE *stream)
wint_t getwc_unlocked (FILE *stream)
int getchar (void)
wint_t getwchar (void)
int getchar_unlocked (void)
wint_t getwchar_unlocked (void)
int getw (FILE *stream)
int obstack_init (struct obstack *obstack-ptr)
void aio_init (const struct aioinit *init)
unsigned int sleep (unsigned int seconds)
int nanosleep (const struct timespec *requested_time, struct timespec *remaining)
char * nl_langinfo (nl_item item)
double sin (double x)
float sinf (float x)
long double sinl (long double x)
double cos (double x)
float cosf (float x)
long double cosl (long double x)
double tan (double x)
float tanf (float x)
long double tanl (long double x)
void sincos (double x, double *sinx, double *cosx)
void sincosf (float x, float *sinx, float *cosx)
void sincosl (long double x, long double *sinx, long double *cosx)
complex double csin (complex double z)
complex float csinf (complex float z)
complex long double csinl (complex long double z)
complex double ccos (complex double z)
complex float ccosf (complex float z)
complex long double ccosl (complex long double z)
complex double ctan (complex double z)
complex float ctanf (complex float z)
complex long double ctanl (complex long double z)
int get_nprocs_conf (void)
int get_nprocs (void)
int getloadavg (double loadavg[], int nelem)
off_t lseek (int filedes, off_t offset, int whence)
off64_t lseek64 (int filedes, off64_t offset, int whence)
int select (int nfds, fd_set *read-fds, fd_set *write-fds, fd_set *except-fds, struct timeval *timeout)
int obstack_room (struct obstack *obstack-ptr)
void obstack_1grow_fast (struct obstack *obstack-ptr, char c)
void obstack_ptr_grow_fast (struct obstack *obstack-ptr, void *data)
void obstack_int_grow_fast (struct obstack *obstack-ptr, int data)
void obstack_blank_fast (struct obstack *obstack-ptr, int size)
uid_t getuid (void)
gid_t getgid (void)
uid_t geteuid (void)
gid_t getegid (void)
int getgroups (int count, gid_t *groups)
int setnetgrent (const char *netgroup)
int getnetgrent (char **hostp, char **userp, char **domainp)
int getnetgrent_r (char **hostp, char **userp, char **domainp, char *buffer, size_t buflen)
void endnetgrent (void)
void flockfile (FILE *stream)
int ftrylockfile (FILE *stream)
void funlockfile (FILE *stream)
int __fsetlocking (FILE *stream, int type)
int getrusage (int processes, struct rusage *rusage)
int vtimes (struct vtimes *current, struct vtimes *child)
char * strcat (char *restrict to, const char *restrict from)
wchar_t * wcscat (wchar_t *restrict wto, const wchar_t *restrict wfrom)
void closelog (void)
mode_t umask (mode_t mask)
mode_t getumask (void)
int chmod (const char *filename, mode_t mode)
int fchmod (int filedes, mode_t mode)
int listen (int socket, int n)
wctrans_t wctrans (const char *property)
wint_t towctrans (wint_t wc, wctrans_t desc)
wint_t towlower (wint_t wc)
wint_t towupper (wint_t wc)
void argp_usage (const struct argp_state *state)
void argp_error (const struct argp_state *state, const char *fmt, ...)
void argp_failure (const struct argp_state *state, int status, int errnum, const char *fmt, ...)
void argp_state_help (const struct argp_state *state, FILE *stream, unsigned flags)
char * strerror (int errnum)
char * strerror_r (int errnum, char *buf, size_t n)
void perror (const char *message)
void error (int status, int errnum, const char *format, ...)
void error_at_line (int status, int errnum, const char *fname, unsigned int lineno, const char *format, ...)
void warn (const char *format, ...)
void vwarn (const char *format, va_list ap)
void warnx (const char *format, ...)
void vwarnx (const char *format, va_list ap)
void err (int status, const char *format, ...)
void verr (int status, const char *format, va_list ap)
void errx (int status, const char *format, ...)
void verrx (int status, const char *format, va_list ap)
size_t parse_printf_format (const char *template, size_t n, int *argtypes)
int symlink (const char *oldname, const char *newname)
ssize_t readlink (const char *filename, char *buffer, size_t size)
char * canonicalize_file_name (const char *name)
char * realpath (const char *restrict name, char *restrict resolved)
int fnmatch (const char *pattern, const char *string, int flags)
ssize_t read (int filedes, void *buffer, size_t size)
ssize_t pread (int filedes, void *buffer, size_t size, off_t offset)
ssize_t pread64 (int filedes, void *buffer, size_t size, off64_t offset)
ssize_t write (int filedes, const void *buffer, size_t size)
ssize_t pwrite (int filedes, const void *buffer, size_t size, off_t offset)
ssize_t pwrite64 (int filedes, const void *buffer, size_t size, off64_t offset)
int getpriority (int class, int id)
int setpriority (int class, int id, int niceval)
int nice (int increment)
char * strfry (char *string)
int IFTODT (mode_t mode)
mode_t DTTOIF (int dtype)
pid_t getpid (void)
pid_t getppid (void)
void clearerr (FILE *stream)
void clearerr_unlocked (FILE *stream)
char * strtok (char *restrict newstring, const char *restrict delimiters)
wchar_t * wcstok (wchar_t *newstring, const wchar_t *delimiters, wchar_t **save_ptr)
char * strtok_r (char *newstring, const char *delimiters, char **save_ptr)
char * strsep (char **string_ptr, const char *delimiter)
char * basename (const char *filename)
char * basename (char *path)
char * dirname (char *path)
int sigpending (sigset_t *set)
ssize_t sendto (int socket, const void *buffer, size_t size, int flags, struct sockaddr *addr, socklen_t length)
void * alloca (size_t size)
int getcontext (ucontext_t *ucp)
void makecontext (ucontext_t *ucp, void (*func) (void), int argc, ...)
int setcontext (const ucontext_t *ucp)
int swapcontext (ucontext_t *restrict oucp, const ucontext_t *restrict ucp)
int truncate (const char *filename, off_t length)
int truncate64 (const char *name, off64_t length)
int ftruncate (int fd, off_t length)
int ftruncate64 (int id, off64_t length)
void longjmp (jmp_buf state, int value)
void setutent (void)
struct utmp * getutent (void)
void endutent (void)
struct utmp * getutid (const struct utmp *id)
struct utmp * getutline (const struct utmp *line)
struct utmp * pututline (const struct utmp *utmp)
int getutent_r (struct utmp *buffer, struct utmp **result)
int getutid_r (const struct utmp *id, struct utmp *buffer, struct utmp **result)
int getutline_r (const struct utmp *line, struct utmp *buffer, struct utmp **result)
int utmpname (const char *file)
void updwtmp (const char *wtmp_file, const struct utmp *utmp)
int fegetround (void)
int fesetround (int round)
int link (const char *oldname, const char *newname)
int strcoll (const char *s1, const char *s2)
int wcscoll (const wchar_t *ws1, const wchar_t *ws2)
size_t strxfrm (char *restrict to, const char *restrict from, size_t size)
size_t wcsxfrm (wchar_t *restrict wto, const wchar_t *wfrom, size_t size)
int rand (void)
void srand (unsigned int seed)
int rand_r (unsigned int *seed)
int getpeername (int socket, struct sockaddr *addr, socklen_t *length-ptr)
char * ngettext (const char *msgid1, const char *msgid2, unsigned long int n)
char * dngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n)
char * dcngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n, int category)
int ioctl (int filedes, int command, ...)
double fmod (double numerator, double denominator)
float fmodf (float numerator, float denominator)
long double fmodl (long double numerator, long double denominator)
double drem (double numerator, double denominator)
float dremf (float numerator, float denominator)
long double dreml (long double numerator, long double denominator)
double remainder (double numerator, double denominator)
float remainderf (float numerator, float denominator)
long double remainderl (long double numerator, long double denominator)
int putpwent (const struct passwd *p, FILE *stream)
int mbsinit (const mbstate_t *ps)
int socket (int namespace, int style, int protocol)
int connect (int socket, struct sockaddr *addr, socklen_t length)
wint_t btowc (int c)
int wctob (wint_t c)
size_t mbrtowc (wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps)
size_t mbrlen (const char *restrict s, size_t n, mbstate_t *ps)
size_t wcrtomb (char *restrict s, wchar_t wc, mbstate_t *restrict ps)
pid_t wait3 (int *status-ptr, int options, struct rusage *usage)
int ftw (const char *filename, __ftw_func_t func, int descriptors)
int ftw64 (const char *filename, __ftw64_func_t func, int descriptors)
int nftw (const char *filename, __nftw_func_t func, int descriptors, int flag)
int nftw64 (const char *filename, __nftw64_func_t func, int descriptors, int flag)
int fflush (FILE *stream)
int fflush_unlocked (FILE *stream)
void _flushlbf (void)
void __fpurge (FILE *stream)
int mbtowc (wchar_t *restrict result, const char *restrict string, size_t size)
int wctomb (char *string, wchar_t wchar)
int mblen (const char *string, size_t size)
int feof (FILE *stream)
int feof_unlocked (FILE *stream)
int ferror (FILE *stream)
int ferror_unlocked (FILE *stream)
int inet_aton (const char *name, struct in_addr *addr)
uint32_t inet_addr (const char *name)
uint32_t inet_network (const char *name)
char * inet_ntoa (struct in_addr addr)
struct in_addr inet_makeaddr (uint32_t net, uint32_t local)
uint32_t inet_lnaof (struct in_addr addr)
uint32_t inet_netof (struct in_addr addr)
int inet_pton (int af, const char *cp, void *buf)
const char * inet_ntop (int af, const void *cp, char *buf, socklen_t len)
int mount (const char *special_file, const char *dir, const char *fstype, unsigned long int options, const void *data)
int umount2 (const char *file, int flags)
int umount (const char *file)
char * getcwd (char *buffer, size_t size)
char * getwd (char *buffer)
char * get_current_dir_name (void)
int chdir (const char *filename)
int fchdir (int filedes)
ssize_t readv (int filedes, const struct iovec *vector, int count)
ssize_t writev (int filedes, const struct iovec *vector, int count)
int addseverity (int severity, const char *string)
double exp (double x)
float expf (float x)
long double expl (long double x)
double exp2 (double x)
float exp2f (float x)
long double exp2l (long double x)
double exp10 (double x)
float exp10f (float x)
long double exp10l (long double x)
double pow10 (double x)
float pow10f (float x)
long double pow10l (long double x)
double log (double x)
float logf (float x)
long double logl (long double x)
double log10 (double x)
float log10f (float x)
long double log10l (long double x)
double log2 (double x)
float log2f (float x)
long double log2l (long double x)
double logb (double x)
float logbf (float x)
long double logbl (long double x)
int ilogb (double x)
int ilogbf (float x)
int ilogbl (long double x)
long int llogb (double x)
long int llogbf (float x)
long int llogbl (long double x)
double pow (double base, double power)
float powf (float base, float power)
long double powl (long double base, long double power)
double sqrt (double x)
float sqrtf (float x)
long double sqrtl (long double x)
double cbrt (double x)
float cbrtf (float x)
long double cbrtl (long double x)
double hypot (double x, double y)
float hypotf (float x, float y)
long double hypotl (long double x, long double y)
double expm1 (double x)
float expm1f (float x)
long double expm1l (long double x)
double log1p (double x)
float log1pf (float x)
long double log1pl (long double x)
complex double cexp (complex double z)
complex float cexpf (complex float z)
complex long double cexpl (complex long double z)
complex double clog (complex double z)
complex float clogf (complex float z)
complex long double clogl (complex long double z)
complex double clog10 (complex double z)
complex float clog10f (complex float z)
complex long double clog10l (complex long double z)
complex double csqrt (complex double z)
complex float csqrtf (complex float z)
complex long double csqrtl (complex long double z)
complex double cpow (complex double base, complex double power)
complex float cpowf (complex float base, complex float power)
complex long double cpowl (complex long double base, complex long double power)
int getsockopt (int socket, int level, int optname, void *optval, socklen_t *optlen-ptr)
int setsockopt (int socket, int level, int optname, const void *optval, socklen_t optlen)
int regexec (const regex_t *restrict compiled, const char *restrict string, size_t nmatch, regmatch_t matchptr[restrict], int eflags)
int fputc (int c, FILE *stream)
wint_t fputwc (wchar_t wc, FILE *stream)
int fputc_unlocked (int c, FILE *stream)
wint_t fputwc_unlocked (wchar_t wc, FILE *stream)
int putc (int c, FILE *stream)
wint_t putwc (wchar_t wc, FILE *stream)
int putc_unlocked (int c, FILE *stream)
wint_t putwc_unlocked (wchar_t wc, FILE *stream)
int putchar (int c)
wint_t putwchar (wchar_t wc)
int putchar_unlocked (int c)
wint_t putwchar_unlocked (wchar_t wc)
int fputs (const char *s, FILE *stream)
int fputws (const wchar_t *ws, FILE *stream)
int fputs_unlocked (const char *s, FILE *stream)
int fputws_unlocked (const wchar_t *ws, FILE *stream)
int puts (const char *s)
int putw (int w, FILE *stream)
int ungetc (int c, FILE *stream)
wint_t ungetwc (wint_t wc, FILE *stream)
FILE * popen (const char *command, const char *mode)
int pclose (FILE *stream)
double ceil (double x)
float ceilf (float x)
long double ceill (long double x)
double floor (double x)
float floorf (float x)
long double floorl (long double x)
double trunc (double x)
float truncf (float x)
long double truncl (long double x)
double rint (double x)
float rintf (float x)
long double rintl (long double x)
double nearbyint (double x)
float nearbyintf (float x)
long double nearbyintl (long double x)
double round (double x)
float roundf (float x)
long double roundl (long double x)
double roundeven (double x)
float roundevenf (float x)
long double roundevenl (long double x)
long int lrint (double x)
long int lrintf (float x)
long int lrintl (long double x)
long long int llrint (double x)
long long int llrintf (float x)
long long int llrintl (long double x)
long int lround (double x)
long int lroundf (float x)
long int lroundl (long double x)
long long int llround (double x)
long long int llroundf (float x)
long long int llroundl (long double x)
intmax_t fromfp (double x, int round, unsigned int width)
intmax_t fromfpf (float x, int round, unsigned int width)
intmax_t fromfpl (long double x, int round, unsigned int width)
uintmax_t ufromfp (double x, int round, unsigned int width)
uintmax_t ufromfpf (float x, int round, unsigned int width)
uintmax_t ufromfpl (long double x, int round, unsigned int width)
intmax_t fromfpx (double x, int round, unsigned int width)
intmax_t fromfpxf (float x, int round, unsigned int width)
intmax_t fromfpxl (long double x, int round, unsigned int width)
uintmax_t ufromfpx (double x, int round, unsigned int width)
uintmax_t ufromfpxf (float x, int round, unsigned int width)
uintmax_t ufromfpxl (long double x, int round, unsigned int width)
double modf (double value, double *integer-part)
float modff (float value, float *integer-part)
long double modfl (long double value, long double *integer-part)
speed_t cfgetospeed (const struct termios *termios-p)
speed_t cfgetispeed (const struct termios *termios-p)
int cfsetospeed (struct termios *termios-p, speed_t speed)
int cfsetispeed (struct termios *termios-p, speed_t speed)
int cfsetspeed (struct termios *termios-p, speed_t speed)
long int ftell (FILE *stream)
off_t ftello (FILE *stream)
off64_t ftello64 (FILE *stream)
int fseek (FILE *stream, long int offset, int whence)
int fseeko (FILE *stream, off_t offset, int whence)
int fseeko64 (FILE *stream, off64_t offset, int whence)
void rewind (FILE *stream)
int scanf (const char *template, ...)
int wscanf (const wchar_t *template, ...)
int fscanf (FILE *stream, const char *template, ...)
int fwscanf (FILE *stream, const wchar_t *template, ...)
int sscanf (const char *s, const char *template, ...)
int swscanf (const wchar_t *ws, const wchar_t *template, ...)
int mallopt (int param, int value)
struct netent * getnetbyname (const char *name)
struct netent * getnetbyaddr (uint32_t net, int type)
void setnetent (int stayopen)
struct netent * getnetent (void)
void endnetent (void)
int tcgetattr (int filedes, struct termios *termios-p)
int tcsetattr (int filedes, int when, const struct termios *termios-p)
int aio_error (const struct aiocb *aiocbp)
int aio_error64 (const struct aiocb64 *aiocbp)
ssize_t aio_return (struct aiocb *aiocbp)
ssize_t aio_return64 (struct aiocb64 *aiocbp)
long int strtol (const char *restrict string, char **restrict tailptr, int base)
long int wcstol (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
unsigned long int strtoul (const char *retrict string, char **restrict tailptr, int base)
unsigned long int wcstoul (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
long long int strtoll (const char *restrict string, char **restrict tailptr, int base)
long long int wcstoll (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
long long int strtoq (const char *restrict string, char **restrict tailptr, int base)
long long int wcstoq (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
unsigned long long int strtoull (const char *restrict string, char **restrict tailptr, int base)
unsigned long long int wcstoull (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
unsigned long long int strtouq (const char *restrict string, char **restrict tailptr, int base)
unsigned long long int wcstouq (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
intmax_t strtoimax (const char *restrict string, char **restrict tailptr, int base)
intmax_t wcstoimax (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
uintmax_t strtoumax (const char *restrict string, char **restrict tailptr, int base)
uintmax_t wcstoumax (const wchar_t *restrict string, wchar_t **restrict tailptr, int base)
long int atol (const char *string)
int atoi (const char *string)
long long int atoll (const char *string)
int hcreate (size_t nel)
void hdestroy (void)
ENTRY * hsearch (ENTRY item, ACTION action)
int hcreate_r (size_t nel, struct hsearch_data *htab)
void hdestroy_r (struct hsearch_data *htab)
int hsearch_r (ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab)
int abs (int number)
long int labs (long int number)
long long int llabs (long long int number)
intmax_t imaxabs (intmax_t number)
double fabs (double number)
float fabsf (float number)
long double fabsl (long double number)
double cabs (complex double z)
float cabsf (complex float z)
long double cabsl (complex long double z)
char * textdomain (const char *domainname)
char * bindtextdomain (const char *domainname, const char *dirname)
int asprintf (char **ptr, const char *template, ...)
int obstack_printf (struct obstack *obstack, const char *template, ...)
double frexp (double value, int *exponent)
float frexpf (float value, int *exponent)
long double frexpl (long double value, int *exponent)
double ldexp (double value, int exponent)
float ldexpf (float value, int exponent)
long double ldexpl (long double value, int exponent)
double scalb (double value, double exponent)
float scalbf (float value, float exponent)
long double scalbl (long double value, long double exponent)
double scalbn (double x, int n)
float scalbnf (float x, int n)
long double scalbnl (long double x, int n)
double scalbln (double x, long int n)
float scalblnf (float x, long int n)
long double scalblnl (long double x, long int n)
double significand (double x)
float significandf (float x)
long double significandl (long double x)
int islower (int c)
int isupper (int c)
int isalpha (int c)
int isdigit (int c)
int isalnum (int c)
int isxdigit (int c)
int ispunct (int c)
int isspace (int c)
int isblank (int c)
int isgraph (int c)
int isprint (int c)
int iscntrl (int c)
int isascii (int c)
void syslog (int facility_priority, const char *format, ...)
void vsyslog (int facility_priority, const char *format, va_list arglist)
int uname (struct utsname *info)
int gethostname (char *name, size_t size)
int sethostname (const char *name, size_t length)
int getdomainnname (char *name, size_t length)
int setdomainname (const char *name, size_t length)
long int gethostid (void)
int sethostid (long int id)
void * tsearch (const void *key, void **rootp, comparison_fn_t compar)
void * tfind (const void *key, void *const *rootp, comparison_fn_t compar)
void * tdelete (const void *key, void **rootp, comparison_fn_t compar)
void tdestroy (void *vroot, __free_fn_t freefct)
void twalk (const void *root, __action_fn_t action)
char * getpass (const char *prompt)
int mlock (const void *addr, size_t len)
int munlock (const void *addr, size_t len)
int mlockall (int flags)
int munlockall (void)
int raise (int signum)
int gsignal (int signum)
void rewinddir (DIR *dirstream)
long int telldir (DIR *dirstream)
void seekdir (DIR *dirstream, long int pos)
iconv_t iconv_open (const char *tocode, const char *fromcode)
int iconv_close (iconv_t cd)
size_t iconv (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
int sigaction (int signum, const struct sigaction *restrict action, struct sigaction *restrict old-action)
double drand48 (void)
double erand48 (unsigned short int xsubi[3])
long int lrand48 (void)
long int nrand48 (unsigned short int xsubi[3])
long int mrand48 (void)
long int jrand48 (unsigned short int xsubi[3])
void srand48 (long int seedval)
unsigned short int * seed48 (unsigned short int seed16v[3])
void lcong48 (unsigned short int param[7])
int drand48_r (struct drand48_data *buffer, double *result)
int erand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, double *result)
int lrand48_r (struct drand48_data *buffer, long int *result)
int nrand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, long int *result)
int mrand48_r (struct drand48_data *buffer, long int *result)
int jrand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, long int *result)
int srand48_r (long int seedval, struct drand48_data *buffer)
int seed48_r (unsigned short int seed16v[3], struct drand48_data *buffer)
int lcong48_r (unsigned short int param[7], struct drand48_data *buffer)
void cfmakeraw (struct termios *termios-p)
int openpty (int *amaster, int *aslave, char *name, const struct termios *termp, const struct winsize *winp)
int forkpty (int *amaster, char *name, const struct termios *termp, const struct winsize *winp)
void exit (int status)
clock_t times (struct tms *buffer)
int aio_cancel (int fildes, struct aiocb *aiocbp)
int aio_cancel64 (int fildes, struct aiocb64 *aiocbp)
int printf (const char *template, ...)
int wprintf (const wchar_t *template, ...)
int fprintf (FILE *stream, const char *template, ...)
int fwprintf (FILE *stream, const wchar_t *template, ...)
int sprintf (char *s, const char *template, ...)
int swprintf (wchar_t *ws, size_t size, const wchar_t *template, ...)
int snprintf (char *s, size_t size, const char *template, ...)
int regcomp (regex_t *restrict compiled, const char *restrict pattern, int cflags)
long int pathconf (const char *filename, int parameter)
long int fpathconf (int filedes, int parameter)
int getpagesize (void)
long int get_phys_pages (void)
long int get_avphys_pages (void)
struct passwd * getpwuid (uid_t uid)
int getpwuid_r (uid_t uid, struct passwd *result_buf, char *buffer, size_t buflen, struct passwd **result)
struct passwd * getpwnam (const char *name)
int getpwnam_r (const char *name, struct passwd *result_buf, char *buffer, size_t buflen, struct passwd **result)
ssize_t recv (int socket, void *buffer, size_t size, int flags)
int access (const char *filename, int how)
int strfromd (char *restrict string, size_t size, const char *restrict format, double value)
int strfromf (char *restrict string, size_t size, const char *restrict format, float value)
int strfroml (char *restrict string, size_t size, const char *restrict format, long double value)
int kill (pid_t pid, int signum)
int killpg (int pgid, int signum)
unsigned long int getauxval (unsigned long int type)
void * obstack_base (struct obstack *obstack-ptr)
void * obstack_next_free (struct obstack *obstack-ptr)
int obstack_object_size (struct obstack *obstack-ptr)
void * malloc (size_t size)
FILE * fopen (const char *filename, const char *opentype)
FILE * fopen64 (const char *filename, const char *opentype)
FILE * freopen (const char *filename, const char *opentype, FILE *stream)
FILE * freopen64 (const char *filename, const char *opentype, FILE *stream)
int __freadable (FILE *stream)
int __fwritable (FILE *stream)
int __freading (FILE *stream)
int __fwriting (FILE *stream)
void mtrace (void)
void muntrace (void)
clock_t clock (void)
int scandir (const char *dir, struct dirent ***namelist, int (*selector) (const struct dirent *), int (*cmp) (const struct dirent **, const struct dirent **))
int alphasort (const struct dirent **a, const struct dirent **b)
int versionsort (const struct dirent **a, const struct dirent **b)
int scandir64 (const char *dir, struct dirent64 ***namelist, int (*selector) (const struct dirent64 *), int (*cmp) (const struct dirent64 **, const struct dirent64 **))
int alphasort64 (const struct dirent64 **a, const struct dirent **b)
int versionsort64 (const struct dirent64 **a, const struct dirent64 **b)
char * l64a (long int n)
long int a64l (const char *string)
struct group * fgetgrent (FILE *stream)
int fgetgrent_r (FILE *stream, struct group *result_buf, char *buffer, size_t buflen, struct group **result)
void setgrent (void)
struct group * getgrent (void)
int getgrent_r (struct group *result_buf, char *buffer, size_t buflen, struct group **result)
void endgrent (void)
int sigemptyset (sigset_t *set)
int sigfillset (sigset_t *set)
int sigaddset (sigset_t *set, int signum)
int sigdelset (sigset_t *set, int signum)
int sigismember (const sigset_t *set, int signum)
size_t mbsrtowcs (wchar_t *restrict dst, const char **restrict src, size_t len, mbstate_t *restrict ps)
size_t wcsrtombs (char *restrict dst, const wchar_t **restrict src, size_t len, mbstate_t *restrict ps)
size_t mbsnrtowcs (wchar_t *restrict dst, const char **restrict src, size_t nmc, size_t len, mbstate_t *restrict ps)
size_t wcsnrtombs (char *restrict dst, const wchar_t **restrict src, size_t nwc, size_t len, mbstate_t *restrict ps)
int setlogmask (int mask)
int bind (int socket, struct sockaddr *addr, socklen_t length)
double fmin (double x, double y)
float fminf (float x, float y)
long double fminl (long double x, long double y)
double fmax (double x, double y)
float fmaxf (float x, float y)
long double fmaxl (long double x, long double y)
double fminmag (double x, double y)
float fminmagf (float x, float y)
long double fminmagl (long double x, long double y)
double fmaxmag (double x, double y)
float fmaxmagf (float x, float y)
long double fmaxmagl (long double x, long double y)
double fdim (double x, double y)
float fdimf (float x, float y)
long double fdiml (long double x, long double y)
double fma (double x, double y, double z)
float fmaf (float x, float y, float z)
long double fmal (long double x, long double y, long double z)
double strtod (const char *restrict string, char **restrict tailptr)
float strtof (const char *string, char **tailptr)
long double strtold (const char *string, char **tailptr)
double wcstod (const wchar_t *restrict string, wchar_t **restrict tailptr)
float wcstof (const wchar_t *string, wchar_t **tailptr)
long double wcstold (const wchar_t *string, wchar_t **tailptr)
double atof (const char *string)
char * ctermid (char *string)
void * realloc (void *ptr, size_t newsize)
struct hostent * gethostbyname (const char *name)
struct hostent * gethostbyname2 (const char *name, int af)
struct hostent * gethostbyaddr (const void *addr, socklen_t length, int format)
int gethostbyname_r (const char *restrict name, struct hostent *restrict result_buf, char *restrict buf, size_t buflen, struct hostent **restrict result, int *restrict h_errnop)
int gethostbyname2_r (const char *name, int af, struct hostent *restrict result_buf, char *restrict buf, size_t buflen, struct hostent **restrict result, int *restrict h_errnop)
int gethostbyaddr_r (const void *addr, socklen_t length, int format, struct hostent *restrict result_buf, char *restrict buf, size_t buflen, struct hostent **restrict result, int *restrict h_errnop)
void sethostent (int stayopen)
struct hostent * gethostent (void)
void endhostent (void)
void free (void *ptr)
void cfree (void *ptr)
FILE * fdopen (int filedes, const char *opentype)
int fileno (FILE *stream)
int fileno_unlocked (FILE *stream)
int sigsuspend (const sigset_t *set)
size_t fread (void *data, size_t size, size_t count, FILE *stream)
size_t fread_unlocked (void *data, size_t size, size_t count, FILE *stream)
size_t fwrite (const void *data, size_t size, size_t count, FILE *stream)
size_t fwrite_unlocked (const void *data, size_t size, size_t count, FILE *stream)
int feclearexcept (int excepts)
int feraiseexcept (int excepts)
int fesetexcept (int excepts)
int fetestexcept (int excepts)
int fegetexceptflag (fexcept_t *flagp, int excepts)
int fesetexceptflag (const fexcept_t *flagp, int excepts)
int fetestexceptflag (const fexcept_t *flagp, int excepts)
int totalorder (double x, double y)
int totalorderf (float x, float y)
int totalorderl (long double x, long double y)
int totalordermag (double x, double y)
int totalordermagf (float x, float y)
int totalordermagl (long double x, long double y)
int printf_size (FILE *fp, const struct printf_info *info, const void *const *args)
int printf_size_info (const struct printf_info *info, size_t n, int *argtypes)
ssize_t recvfrom (int socket, void *buffer, size_t size, int flags, struct sockaddr *addr, socklen_t *length-ptr)
int setfsent (void)
void endfsent (void)
struct fstab * getfsent (void)
struct fstab * getfsspec (const char *name)
struct fstab * getfsfile (const char *name)
int fgetpos (FILE *stream, fpos_t *position)
int fgetpos64 (FILE *stream, fpos64_t *position)
int fsetpos (FILE *stream, const fpos_t *position)
int fsetpos64 (FILE *stream, const fpos64_t *position)
char * asctime (const struct tm *brokentime)
char * asctime_r (const struct tm *brokentime, char *buffer)
char * ctime (const time_t *time)
char * ctime_r (const time_t *time, char *buffer)
size_t strftime (char *s, size_t size, const char *template, const struct tm *brokentime)
size_t wcsftime (wchar_t *s, size_t size, const wchar_t *template, const struct tm *brokentime)
char * getenv (const char *name)
char * secure_getenv (const char *name)
int putenv (char *string)
int setenv (const char *name, const char *value, int replace)
int unsetenv (const char *name)
int clearenv (void)
int getpt (void)
int grantpt (int filedes)
int unlockpt (int filedes)
char * ptsname (int filedes)
int ptsname_r (int filedes, char *buf, size_t len)
div_t div (int numerator, int denominator)
ldiv_t ldiv (long int numerator, long int denominator)
lldiv_t lldiv (long long int numerator, long long int denominator)
imaxdiv_t imaxdiv (intmax_t numerator, intmax_t denominator)
uint64_t __ppc_get_timebase (void)
uint64_t __ppc_get_timebase_freq (void)
void __ppc_yield (void)
void __ppc_mdoio (void)
void __ppc_mdoom (void)
void __ppc_set_ppr_med (void)
void __ppc_set_ppr_low (void)
void __ppc_set_ppr_med_low (void)
void __ppc_set_ppr_very_low (void)
void __ppc_set_ppr_med_high (void)
struct tm * localtime (const time_t *time)
struct tm * localtime_r (const time_t *time, struct tm *resultp)
struct tm * gmtime (const time_t *time)
struct tm * gmtime_r (const time_t *time, struct tm *resultp)
time_t mktime (struct tm *brokentime)
time_t timelocal (struct tm *brokentime)
time_t timegm (struct tm *brokentime)
struct tm * getdate (const char *string)
int getdate_r (const char *string, struct tm *tp)
int getopt_long (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *indexptr)
int getopt_long_only (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *indexptr)
void regfree (regex_t *compiled)
size_t regerror (int errcode, const regex_t *restrict compiled, char *restrict buffer, size_t length)
int sysctl (int *names, int nlen, void *oldval, size_t *oldlenp, void *newval, size_t newlen)
int backtrace (void **buffer, int size)
char ** backtrace_symbols (void *const *buffer, int size)
void backtrace_symbols_fd (void *const *buffer, int size, int fd)
int pthread_getattr_default_np (pthread_attr_t *attr)
int pthread_setattr_default_np (pthread_attr_t *attr)
int vscanf (const char *template, va_list ap)
int vwscanf (const wchar_t *template, va_list ap)
int vfscanf (FILE *stream, const char *template, va_list ap)
int vfwscanf (FILE *stream, const wchar_t *template, va_list ap)
int vsscanf (const char *s, const char *template, va_list ap)
int vswscanf (const wchar_t *s, const wchar_t *template, va_list ap)
pid_t fork (void)
pid_t vfork (void)
pid_t tcgetpgrp (int filedes)
int tcsetpgrp (int filedes, pid_t pgid)
pid_t tcgetsid (int fildes)
int isinf (double x)
int isinff (float x)
int isinfl (long double x)
int isnan (double x)
int isnanf (float x)
int isnanl (long double x)
int finite (double x)
int finitef (float x)
int finitel (long double x)
struct passwd * fgetpwent (FILE *stream)
int fgetpwent_r (FILE *stream, struct passwd *result_buf, char *buffer, size_t buflen, struct passwd **result)
void setpwent (void)
struct passwd * getpwent (void)
int getpwent_r (struct passwd *result_buf, char *buffer, size_t buflen, struct passwd **result)
void endpwent (void)
int getentropy (void *buffer, size_t length)
ssize_t getrandom (void *buffer, size_t length, unsigned int flags)
FILE * tmpfile (void)
FILE * tmpfile64 (void)
char * tmpnam (char *result)
char * tmpnam_r (char *result)
char * tempnam (const char *dir, const char *prefix)
char * mktemp (char *template)
int mkstemp (char *template)
char * mkdtemp (char *template)
int mkfifo (const char *filename, mode_t mode)
struct group * getgrgid (gid_t gid)
int getgrgid_r (gid_t gid, struct group *result_buf, char *buffer, size_t buflen, struct group **result)
struct group * getgrnam (const char *name)
int getgrnam_r (const char *name, struct group *result_buf, char *buffer, size_t buflen, struct group **result)
int dup (int old)
int dup2 (int old, int new)
int shutdown (int socket, int how)
void argp_help (const struct argp *argp, FILE *stream, unsigned flags, char *name)
int mcheck (void (*abortfn) (enum mcheck_status status))
enum mcheck_status mprobe (void *pointer)
int glob (const char *pattern, int flags, int (*errfunc) (const char *filename, int error-code), glob_t *vector-ptr)
int glob64 (const char *pattern, int flags, int (*errfunc) (const char *filename, int error-code), glob64_t *vector-ptr)
nl_catd catopen (const char *cat_name, int flag)
char * catgets (nl_catd catalog_desc, int set, int message, const char *string)
int catclose (nl_catd catalog_desc)
double asin (double x)
float asinf (float x)
long double asinl (long double x)
double acos (double x)
float acosf (float x)
long double acosl (long double x)
double atan (double x)
float atanf (float x)
long double atanl (long double x)
double atan2 (double y, double x)
float atan2f (float y, float x)
long double atan2l (long double y, long double x)
complex double casin (complex double z)
complex float casinf (complex float z)
complex long double casinl (complex long double z)
complex double cacos (complex double z)
complex float cacosf (complex float z)
complex long double cacosl (complex long double z)
complex double catan (complex double z)
complex float catanf (complex float z)
complex long double catanl (complex long double z)
long int sysconf (int parameter)
int seteuid (uid_t neweuid)
int setuid (uid_t newuid)
int setreuid (uid_t ruid, uid_t euid)
int fwide (FILE *stream, int mode)
int sigprocmask (int how, const sigset_t *restrict set, sigset_t *restrict oldset)
int aio_fsync (int op, struct aiocb *aiocbp)
int aio_fsync64 (int op, struct aiocb64 *aiocbp)
int aio_suspend (const struct aiocb *const list[], int nent, const struct timespec *timeout)
int aio_suspend64 (const struct aiocb64 *const list[], int nent, const struct timespec *timeout)
int setitimer (int which, const struct itimerval *new, struct itimerval *old)
int getitimer (int which, struct itimerval *old)
unsigned int alarm (unsigned int seconds)
@wabbajack1
Copy link

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment