C Programming/C Reference/List of C functions

The predefined functions used in the C standard library, and a few other common functions, are listed below sorted by header file.

Standard library headersEdit

assert.hEdit

  • assert (macro)

ctype.hEdit

  • digittoint (non-standard)
  • isalnum
  • isalpha
  • isascii (non-standard)
  • isblank
  • iscntrl
  • isdigit
  • isgraph
  • islower
  • isprint
  • ispunct
  • isspace
  • isupper
  • isxdigit
  • toascii (non-standard)
  • tolower
  • toupper

inttypes.hEdit

  • imaxabs
  • imaxdiv
  • strtoimax
  • strtoumax
  • wcstoimax
  • wcstoumax

locale.hEdit

  • localeconv
  • setlocale

setjmp.hEdit

  • longjmp
  • setjmp

signal.hEdit

  • raise

stdarg.hEdit

  • va_arg (macro)
  • va_copy (macro)
  • va_end (macro)
  • va_start (macro)

stddef.hEdit

  • offsetof (macro)

stdlib.hEdit

  • abort
  • abs, labs
  • atexit
  • atof
  • atoi
  • atol
  • bsearch
  • div, ldiv
  • exit
  • free
  • itoa (non-standard)
  • getenv
  • ltoa (non-standard)
  • malloc, calloc, and realloc
  • qsort
  • rand
  • srand
  • strtod
  • strtol
  • strtoul
  • system

string.hEdit

  • memchr
  • memcmp
  • memcpy
  • memmove
  • memset
  • strcat, strncat
  • strchr
  • strcmp, strncmp
  • strcoll
  • strcpy, strncpy
  • strcspn
  • strerror
  • strlen
  • strpbrk
  • strrchr
  • strspn
  • strstr
  • strtok
  • strxfrm

time.hEdit

  • asctime
  • clock
  • ctime
  • difftime
  • gmtime
  • localtime
  • mktime
  • strftime
  • time

wchar.hEdit

  • btowc
  • fgetwc
  • fgetws
  • fputwc
  • fputws
  • fwide
  • fwprintf
  • fwscanf
  • getwc (macro)
  • getwchar (macro)
  • mbrlen
  • mbrtowc
  • mbsinit
  • mbsrtowcs
  • putwc (macro)
  • putwchar (macro)
  • swprintf
  • swscanf
  • ungetwc
  • vfwprintf
  • vswprintf
  • vwprintf
  • wcrtomb
  • wcscat
  • wcschr
  • wcscmp
  • wcscoll
  • wcscpy
  • wcscspn
  • wcsftime
  • wcslen
  • wcsncat
  • wcsncmp
  • wcsncpy
  • wcspbrk
  • wcsrchr
  • wcsrtombs
  • wcsspn
  • wcsstr
  • wcstod
  • wcstok
  • wcstol
  • wcstoul
  • wcsxfrm
  • wctob
  • wmemchr
  • wmemcmp
  • wmemcpy
  • wmemmove
  • wmemset
  • wprintf
  • wscanf

wctype.hEdit

  • iswalnum
  • iswalpha
  • iswcntrl
  • iswctype
  • iswdigit
  • iswgraph
  • iswlower
  • iswprint
  • iswpunct
  • iswspace
  • iswupper
  • iswxdigit
  • towctrans
  • towlower
  • towupper
  • wctrans
  • wctype

Non-standard headersEdit

alloc.hEdit

  • farmalloc

conio.hEdit

  • getch
  • getche
  • gotoxy

netdb.hEdit

  • getaddrinfo
  • getnameinfo
Last modified on 1 March 2013, at 16:29