====== All C Functions ====== |[[preprocessor/sharp]]|manipulate strings| |[[preprocessor/define]]|define variables| |[[preprocessor/error]]|display an error message| |[[preprocessor/preprocessor_if|#if, #ifdef, #ifndef, #else, #elif, #endif]]|conditional operators| |[[preprocessor/include]]|insert the contents of another file| |[[preprocessor/line]]|set line and file information| |[[preprocessor/pragma]]|implementation specific command| |[[preprocessor/undef]]|used to undefine variables| |[[preprocessor/preprocessor_vars]]|miscellaneous preprocessor variables| |[[c/other/abort]] |stops the program| |[[c/math/abs]] |absolute value| |[[c/math/acos]] |arc cosine| |[[c/date/asctime]] |a textual version of the time| |[[c/math/asin]] |arc sine| |[[c/other/assert]] |stops the program if an expression isn't true| |[[c/math/atan]] |arc tangent| |[[c/math/atan2]] |arc tangent, using signs to determine quadrants| |[[c/other/atexit]] |sets a function to be called when the program exits| |[[c/string/atof]] |converts a string to a double| |[[c/string/atoi]] |converts a string to an integer| |[[c/string/atol]] |converts a string to a long| |[[c/other/bsearch]] |perform a binary search| |[[c/mem/calloc]] |allocates and clears a chunk of memory| |[[c/math/ceil]] |the smallest integer not less than a certain value| |[[c/io/clearerr]] |clears errors| |[[c/date/clock]] |returns the amount of time that the program has been running| |[[c/math/cos]] |cosine| |[[c/math/cosh]] |hyperbolic cosine| |[[c/date/ctime]] |returns a specifically formatted version of the time| |[[c/date/difftime]] |the difference between two times| |[[c/math/div]] |returns the quotient and remainder of a division| |[[c/other/exit]] |stop the program| |[[c/math/exp]] |returns "e" raised to a given power| |[[c/math/fabs]] |absolute value for floating-point numbers| |[[c/io/fclose]] |close a file| |[[c/io/feof]] |true if at the end-of-file| |[[c/io/ferror]] |checks for a file error| |[[c/io/fflush]] |writes the contents of the output buffer| |[[c/io/fgetc]] |get a character from a stream| |[[c/io/fgetpos]] |get the file position indicator| |[[c/io/fgets]] |get a string of characters from a stream| |[[c/math/floor]] |returns the largest integer not greater than a given value| |[[c/math/fmod]] |returns the remainder of a division| |[[c/io/fopen]] |open a file| |[[c/io/fprintf]] |print formatted output to a file| |[[c/io/fputc]] |write a character to a file| |[[c/io/fputs]] |write a string to a file| |[[c/io/fread]] |read from a file| |[[c/mem/free]] |returns previously allocated memory to the operating system| |[[c/io/freopen]] |open an existing stream with a different name| |[[c/math/frexp]] |decomposes a number into scientific notation| |[[c/io/fscanf]] |read formatted input from a file| |[[c/io/fseek]] |move to a specific location in a file| |[[c/io/fsetpos]] |move to a specific location in a file| |[[c/io/ftell]] |returns the current file position indicator| |[[c/io/fwrite]] |write to a file| |[[c/io/getc]] |read a character from a file| |[[c/io/getchar]] |read a character from STDIN| |[[c/other/getenv]] |get enviornment information about a variable| |[[c/io/gets]] |read a string from STDIN| |[[/c/date/gmtime]] |returns a pointer to the current Greenwich Mean Time| |[[c/string/isalnum]] |true if a character is alphanumeric| |[[c/string/isalpha]] |true if a character is alphabetic| |[[c/string/iscntrl]] |true if a character is a control character| |[[c/string/isdigit]] |true if a character is a digit| |[[c/string/isgraph]] |true if a character is a graphical character| |[[c/string/islower]] |true if a character is lowercase| |[[c/string/isprint]] |true if a character is a printing character| |[[c/string/ispunct]] |true if a character is punctuation| |[[c/string/isspace]] |true if a character is a space character| |[[c/string/isupper]] |true if a character is an uppercase character| |[[c/string/isxdigit]] |true if a character is a hexidecimal character| |[[c/math/labs]] |absolute value for long integers| |[[c/math/ldexp]] |computes a number in scientific notation| |[[c/math/ldiv]] |returns the quotient and remainder of a division, in long integer form| |[[c/date/localtime]] |returns a pointer to the current time| |[[c/math/log]] |natural logarithm| |[[c/math/log10]] |natural logarithm, in base 10| |[[c/other/longjmp]] |start execution at a certain point in the program| |[[c/mem/malloc]] |allocates memory| |[[c/string/memchr]] |searches an array for the first occurance of a character| |[[c/string/memcmp]] |compares two buffers| |[[c/string/memcpy]] |copies one buffer to another| |[[c/string/memmove]] |moves one buffer to another| |[[c/string/memset]] |fills a buffer with a character| |[[c/date/mktime]] |returns the calendar version of a given time| |[[c/math/modf]] |decomposes a number into integer and fractional parts| |[[c/io/perror]] |displays a string version of the current error to STDERR| |[[c/math/pow]] |returns a given number raised to another number| |[[c/io/printf]] |write formatted output to STDOUT| |[[c/io/putc]] |write a character to a stream| |[[c/io/putchar]] |write a character to STDOUT| |[[c/other/putenv]] |add/modify the environmental settings| |[[c/io/puts]] |write a string to STDOUT| |[[c/other/qsort]] |perform a quicksort| |[[c/other/raise]] |send a signal to the program| |[[c/other/rand]] |returns a pseudorandom number| |[[c/mem/realloc]] |changes the size of previously allocated memory| |[[c/io/remove]] |erase a file| |[[c/io/rename]] |rename a file| |[[c/io/rewind]] |move the file position indicator to the beginning of a file| |[[c/io/scanf]] |read formatted input from STDIN| |[[c/io/setbuf]] |set the buffer for a specific stream| |[[c/other/setjmp]] |set execution to start at a certain point| |[[c/date/setlocale]] |sets the current locale| |[[c/io/setvbuf]] |set the buffer and size for a specific stream| |[[c/other/signal]] |register a function as a signal handler| |[[c/math/sin]] |sine| |[[c/math/sinh]] |hyperbolic sine| |[[c/io/sprintf]] |write formatted output to a buffer| |[[c/math/sqrt]] |square root| |[[c/other/srand]] |initialize the random number generator| |[[c/io/sscanf]] |read formatted input from a buffer| |[[c/string/strcat]] |concatenates two strings| |[[c/string/strchr]] |finds the first occurance of a character in a string| |[[c/string/strcmp]] |compares two strings| |[[c/string/strcoll]] |compares two strings in accordance to the current locale| |[[c/string/strcpy]] |copies one string to another| |[[c/string/strcspn]] |searches one string for any characters in another| |[[c/string/strerror]] |returns a text version of a given error code| |[[c/date/strftime]] |returns individual elements of the date and time| |[[c/string/strlen]] |returns the length of a given string| |[[c/string/strncat]] |concatenates a certain amount of characters of two strings| |[[c/string/strncmp]] |compares a certain amount of characters of two strings| |[[c/string/strncpy]] |copies a certain amount of characters from one string to another| |[[c/string/strpbrk]] |finds the first location of any character in one string, in another string| |[[c/string/strrchr]] |finds the last occurance of a character in a string| |[[c/string/strspn]] |returns the length of a substring of characters of a string| |[[c/string/strstr]] |finds the first occurance of a substring of characters| |[[c/string/strtod]] |converts a string to a double| |[[c/string/strtok]] |finds the next token in a string| |[[c/string/strtol]] |converts a string to a long| |[[c/string/strtoul]] |converts a string to an unsigned long| |[[c/string/strxfrm]] |converts a substring so that it can be used by string comparison functions| |[[c/other/system]] |perform a system call| |[[c/math/tan]] |tangent| |[[c/math/tanh]] |hyperbolic tangent| |[[c/date/time]] |returns the current calendar time of the system| |[[c/io/tmpfile]] |return a pointer to a temporary file| |[[c/io/tmpnam]] |return a unique filename| |[[c/string/tolower]] |converts a character to lowercase| |[[c/string/toupper]] |converts a character to uppercase| |[[c/io/ungetc]] |puts a character back into a stream| |[[c/other/va_arg]] |use variable length parameter lists| |[[c/io/vprintf_vfprintf_vsprintf]] |write formatted output with variable argument lists| |[[c/io/vscanf_vfscanf_vsscanf]] |gets formatted input from stdin with variable argument lists|