{ALL TYPES} |
ABS |
{ALL TYPES} NUMBER |
CONVERTS NUMBER TO POSITIVE IF NEGATIVE |
DOUBLE |
ATOF |
CHAR * STRING |
CONVERTS STRING TO FLOAT POINT NUMBER |
INT |
ATOI |
CHAR * STRING |
CONVERTS STRING TO NUMBER |
SHORT INT |
BITLEN |
LONG LONG INPUT |
COUNTS HOW MANY BITS VARIABLE USING |
INT |
BITSIGN |
LONG LONG INPUT |
CHECK IF THE SIGN BIT IS 1 OR 0 (AKA: THE LAST BIT IN THE BYTE) |
SHORT INT |
BYTELEN |
LONG LONG INPUT |
COUNTS HOW MANY BYTES VARIABLE USING |
VOID * |
CALLOC |
SIZE_T COUNT, SIZE_T SIZE |
LOCATE MEMORY IN ORDERED SIZE AND GIVE VALUE 0 |
DOUBLE |
COS |
DOUBLE X |
COSINE OF THE GIVEN X |
DOUBLE |
FABS |
DOUBLE X |
CONVERTS NUMBER TO POSITIVE IF NEGATIVE (FLOAT) |
DOUBLE |
FMOD |
DOUBLE X, DOUBLE Y |
MODULAR ARITHMETIC OF X AND Y (AKA: MOD % ) |
|
FREE |
VOID * INPUT |
RESET, REMOVE OR DELETE POINTER |
CHAR * |
GET_LINE |
INT FD |
READ ONE LINE FROM ORDERED FILE |
INT |
GETCHAR |
|
GETS A CHARACTER INPUT |
CHAR * |
GETS |
CHAR * STRING |
GETS STRING INPUT FROM TERMINAL AND SAVES IT TO VARIABLE |
|
GOTOXY |
INT X, INT Y |
MOVES THE TEXT CURSOR TO ORDERED COORDINATES IN TERMINAL |
INT |
IS_ARRAY |
{ALL TYPES} VARIABLE |
CHECK IF VARIABLE ARRAY (RETURNS 1 AS TRUE) |
INT |
IS_POINTER |
{ALL TYPES} VARIABLE |
CHECK IF VARIABLE POINTER (RETURNS 1 AS TRUE) |
CHAR * |
ITOA |
INT NUMBER |
CONVERTS INTEGER TO STRING |
DOUBLE |
LOG |
DOUBLE X |
INVERSE FUNCTION TO EXPONENTIATION |
DOUBLE |
LOG10 |
DOUBLE X |
LOGARITHM OF X TO THE BASE OF 10 |
CHAR |
LOWER_CASE |
CHAR CHARACTER |
CONVERTS UPPER CASE CHARACTER TO LOWER CASE |
VOID * |
MALLOC |
UNSIGNED INT SIZE |
LOCATES MEMORY IN ORDERED SIZE |
{ALL TYPES} |
MAX |
{ALL TYPES} A, {ALL TYPES} B |
RETURNS BIGGES VALUE BETWEEN A AND B |
VOID * |
MEMCHR |
VOID * OBJECT, INT CHARACTER, SIZE_T LEN |
SEARCHES ORDERED CHARACTER IN OBJECT WITHIN GIVEN SIZE |
INT |
MEMCMP |
VOID * OBJECT_1, VOID * OBJECT_2, SIZE_T LEN |
COMPARES TWO OBJECTS WITHIN GIVEN SIZE |
VOID * |
MEMCPY |
VOID * DEST, VOID * SRC, SIZE_T SIZE |
COPIES SRC TO DEST WITHIN GIVEN SIZE |
VOID * |
MEMMOVE |
VOID * DST, VOID * SRC, SIZE_T LEN |
COPIES THE DATA TO AN INTERMEDIATE BUFFER THEN CONNECTS IT'S ADDRESS |
VOID * |
MEMSET |
VOID * OBJECT, INT INPUT, SIZE_T , SIZE |
SETS VALUE INSIDE OF THE OBJECT WITHIN GIVEN SIZE |
{ALL TYPES} |
MIN |
{ALL TYPES} A, {ALL TYPES} B |
RETURNS SMALLEST VALUE BETWEEN A AND B |
DOUBLE |
POW |
DOUBLE X, SIGNED INT POWER |
CALCULATING GIVEN EXPONENTIAL NUMBER AS DOUBLE |
|
PUT_CHAR |
CHAR CHARACTER |
PRINTS A SINGLE CHARACTER TO TERMINAL |
|
PUT_CHAR_FD |
CHAR CHARACTER, INT FD |
PRINTS A SINGLE CHARACTER TO ORDERED FILE |
|
PUT_NUMBER |
INT NUMBER |
PRINTS INTEGER NUMBER TO TERMINAL |
|
PUT_NUMBER_FD |
INT NUMBER, INT FD |
PRINTS INTEGER NUMBER TO ORDERED FILE |
|
PUT_STR |
CHAR * STRING |
PRINTS STRING TO TERMINAL |
|
PUT_STR_FD |
CHAR * STRING, INT FD |
PRINTS STRING TO ORDERED FILE |
INT |
PRINTF |
CHAR __, ... |
SAME WITH PRINTF, CAN USE BOTH UPPERCASE AND LOWERCASE COMMANDS |
INT |
PRINTF_FD |
INT FD, CHAR __, ... |
SAME WITH PRINTF, PRINT THE PRINTF STRING TO ORDERED FILE |
INT |
RANDOM |
INT MIN, INT MAX |
GIVE A RANDOM INTEGER NUMBER BETWEEN MIN AND MAX |
CHAR * |
REPLACE_STRING |
CHAR * STRING, CHAR * OLD, CHAR * NEW |
FIND OLD IN STRING AND REPLACE IT WITH NEW |
DOUBLE |
SIN |
DOUBLE X |
SINE OF THE GIVEN X |
CHAR |
SIZEOF |
{ALL TYPES} VARIABLE |
THE REMAKE OF ORIGINAL SIZEOF |
CHAR ** |
SPLIT |
CHAR * STRING, CHAR CHARACTER |
CUT THE STRING TO STRINGS VIA ORDERED CHARACTER |
DOUBLE |
SQRT |
DOUBLE X |
FINDING THE SQUARE ROOT OF A NUMBER |
INT |
STRCASECMP |
CHAR * STRING_1, CHAR * STRING_2 |
COMAPERS TWO STRINGS AND IGNORES APLHABETIC CHARACTERS' CASES |
CHAR * |
STRCAT |
CHAR * STRING_1, CHAR * STRING_2 |
CONSUBSTANTIATE TWO STRINGS |
CHAR |
STRCHR |
CHAR * STRING, CHAR CHARACTER |
SEARCH THE ORDERED CHARACTER INSIDE STRING |
INT |
STRCMP |
CHAR * STRING_1, CHAR * STRING_2 |
COMAPRE TWO STRINGS |
CHAR * |
STRCPY |
CHAR * STRING_1, CHAR * STRING_2 |
COPIES STRING_2 IN TO STRING_1 |
CHAR * |
STRDUP |
CHAR * STRING |
DUPLICATES STRING |
|
STRITERI |
CHAR * STRING, VOID F(UNSIGNED INT , CHAR * ) |
USING THE STRING PER ++ UNTILL STRING REACHED ONLY \0 CHARACTER |
CHAR * |
STRJOIN |
CHAR ** STRINGS, CHAR * JOIN_STRING |
JOIN THE ALL STRINGS IN STRINGS AND PUT JOIN_STRING BETWEEN THEM |
SIZE_T |
STRLCAT |
CHAR * DST, CHAR * SRC, SIZE_T DST_SIZE |
CONSUBSTANTIATE TWO STRINGS AND SAVE IT TO DST |
SIZE_T |
STRLCPY |
CHAR * DST, CHAR * SRC, SIZE_T SIZE |
COPY SRC TO DST IN ORDERED SIZE |
INT |
STRLEN |
CHAR * STRING |
COUNTS HOW MANY CHARACTER STRING HAS (NON UNICODE) |
CHAR * |
STRMAPI |
CHAR * STRING, CHAR F(UNSIGNED INT , CHAR ) |
DO JOBS WITH EVERY CHARACTER IN STRING VIA USING F() FUNCTION |
INT |
STRNCMP |
CHAR * STRING_1, CHAR * STRING_2, SIZE_T SIZE |
COMPARE TWO STRINGS UNTILL GIVEN SIZE |
CHAR * |
STRNSTR |
CHAR * HAYSTACK, CHAR * NEEDLE, SIZE_T LEN |
GIVING REST OF THE HAYSTACK UNTILL FINDS NEELE IN ORERED LEN |
CHAR * |
STRRCHR |
CHAR * STRING, INT CHARACTER |
SEARCHES THE LAST CHARACTER AND THEN RETURNS REST OF THE STRING |
CHAR * |
STRSTR |
CHAR * STRING, CHAR * SUB_STRING |
GIVING REST OF THE STRING UNSTILL FINDS THE SUB_STRING IN IT |
CHAR * |
STRTRIM |
CHAR * STRING_1, CHAR * STRING_2 |
REMOVES STRING_2 S LEFT TO RIGHT IN STRING_1 |
CHAR * |
SUBSTR |
CHAR * STRING, INT START, SIZE_T LEN |
CUT A STRING INSIE OF THE STRING IN ORDERED COORDINATES |
INT |
TYPECMP |
{ALL TYPES} , {ALL TYPES} |
COMPARE VARIABLES' TYPES OR JUST TYPES (RETURNS 1 AS TRUE) |
CHAR |
UPPER_CASE |
CHAR CHARACTER |
CONVERTS LOWER CASE CHARACTER TO UPPER CASE |