Function realloc () in C
The realloc () function attempts to recover the memory block pointed to by the ptr pointer that was previously allocated with a call to malloc or calloc.
Learn basic programming with C, C++, Python, JavaScript, PHP, CSS, HTML5 programming languages. You can also find tutorials on databases, SQL Server here.
The realloc () function attempts to recover the memory block pointed to by the ptr pointer that was previously allocated with a call to malloc or calloc.
The abort () function stops executing the program abnormally.
Int atexit function (void (* func) (void)) calls function func when the program ends. You can register your end function (func function) wherever you like, but this function will
The void exit (int status) function immediately terminates the calling process. Any file opened by the process is closed and any child process is inherited by the initial process
The int remove (const char * filename) function in Library C standard deletes the filename so it is no longer accessible.
The function int rename (const char * old_filename, const char * new_filename) in Library C standard makes filename referenced, changed from old_filename to new_filename.
The void rewind function (FILE * stream) in Standard C library sets the file location to the beginning of the file in the given stream.
The function void setbuf (FILE * stream, char * buffer) in the standard C Library defines how a Stream is buffered. This function should be called once the file attached to the
The function int setvbuf (FILE * stream, char * buffer, int mode, size_t size) in Standard C Library determines how a Stream should be buffered.
Function FILE * tmpfile (void) in standard C Library Create temporary files in wb + mode. The temporary file created will be automatically deleted when the stream is closed
The function char * tmpnam (char * str) in the C Library standard creates and returns a valid temporary file name (temp file) that did not exist before creation. If str is null,
The int fprintf function (FILE * stream, const char * format, ...) in standard C library sends formatted output to a Stream.
The char * gets (char * str) function in Standard C library reads a line from stdin and stores it inside the string pointed by str. It stops when the end-of-file or newline
The int sprintf function (char * str, const char * format, ...) in the standard C library sends the formatted output to a string str.
The int vfprintf function (FILE * stream, const char * format, va_list arg) in the Standard C library sends the formatted output to a stream using a parameter list.
The function int vsprintf (char * str, const char * format, va_list arg) in the standard C library sends the formatted output to a string string using a parameter list.
The int fscanf function (FILE * stream, const char * format, ...) in Library C reads the input formatted from a Stream.
The function int scanf (const char * format, ...) in Library C standard reads input that has been formatted from stdin.
The function int sscanf (const char * str, const char * format, ...) in Library C standard reads the input formatted from a string.
The function int fgetc (FILE * stream) in C Library standard takes the next character (an unsigned char) from the given Stream and increases the position indicator for that Stream.