realloc

Defined in header <stdlib.h> void *realloc( void *ptr, size_t new_size ); Reallocates the given area of memory. It must be previously allocated by malloc(), calloc() or realloc() and not yet freed with free, otherwise, the results are undefined. The reallocation is done by either: a) expanding or contracting the existing area pointed to by ptr, if possible. The contents of the area remain unchanged up to the lesser of the new and old sizes. If the area is expanded, the con

register

Usage automatic duration storage-class specifier with no linkage. Hints that the variable will be used heavily.

remove

Defined in header <stdio.h> int remove( const char *fname ); Deletes the file identified by character string pointed to by fname. If the file is currently open by this or another process, the behavior of this function is implementation-defined (in particular, POSIX systems unlink the file name although the file system space is not reclaimed until the last running process closes the file; Windows does not allow the file to be deleted). Parameters fname - pointer to a

remainder

Defined in header <math.h> float remainderf( float x, float y ); (1) (since C99) double remainder( double x, double y ); (2) (since C99) long double remainderl( long double x, long double y ); (3) (since C99) Defined in header <tgmath.h> #define remainder( x, y ) (4) (since C99) 1-3) Computes the IEEE remainder of the floating point division operation x/y. 4) Type-generic macro: If any argument has type long double, remainderl is

qsort

Defined in header <stdlib.h> void qsort( void *ptr, size_t count, size_t size, int (*comp)(const void *, const void *) ); (1) errno_t qsort_s( void *ptr, rsize_t count, rsize_t size, int (*comp)(const void *, const void *, void *), void *context ); (2) (since C11) 1) Sorts the given array pointed to by ptr in ascending order. The array contains count elements of size bytes. Function pointed to by comp is used for object c

rand

Defined in header <stdlib.h> int rand(); Returns a pseudo-random integral value between ​0​ and RAND_MAX (0 and RAND_MAX included). srand() seeds the pseudo-random number generator used by rand(). If rand() is used before any calls to srand(), rand() behaves as if it was seeded with srand(1). Each time rand() is seeded with srand(), it must produce the same sequence of values. rand() is not guaranteed to be thread-safe. Parameters (none). Return value Pseudo-random in

raise

Defined in header <signal.h> int raise( int sig ); Sends signal sig to the program. The signal handler, specified using signal(), is invoked. If the user-defined signal handling strategy is not set using signal() yet, it is implementation-defined whether the signal will be ignored or default handler will be invoked. Parameters sig - the signal to be sent. It can be an implementation-defined value or one of the following values: SIGABRTSIGFPESIGILLSIGINTSIGSEGVSIGT

quick_exit

Defined in header <stdlib.h> void quick_exit( int exit_code ); (since C11) Causes normal program termination to occur without completely cleaning the resources. Functions passed to at_quick_exit are called in reverse order of their registration. After calling the registered functions, calls _Exit(exit_code). Parameters exit_code - exit status of the program Return value (none). Example #include <stdlib.h> #include <stdio.h> void f1() { p

putwchar

Defined in header <wchar.h> wint_t putwchar( wchar_t ch ); (since C95) Writes a wide character ch to stdout. Parameters ch - wide character to be written Return value ch on success, WEOF on failure. References C11 standard (ISO/IEC 9899:2011): 7.29.3.9 The putwchar function (p: 425) C99 standard (ISO/IEC 9899:1999): 7.24.3.9 The putwchar function (p: 370) See also putchar writes a character to stdout (function) fputwcputwc (C95) writes

RAND_MAX

Defined in header <stdlib.h> #define RAND_MAX /*implementation defined*/ Expands to an integer constant expression equal to the maximum value returned by the function rand(). This value is implementation dependent. It's guaranteed that this value is at least 32767. References C11 standard (ISO/IEC 9899:2011): 7.22/3 General utilities <stdlib.h> (p: 340) C99 standard (ISO/IEC 9899:1999): 7.20/3 General utilities <stdlib.h> (p: 306) C89/C90 standard (ISO