• The function ungetc () in C

    The function ungetc () in C
    the function int ungetc (int char, file * stream) in the c library standard pushes the char character (an unsigned char) onto the stream given to the next character to be read.
  • The function perror () in C

    The function perror () in C
    the function void perror (const char * str) in the c library standard prints a message describing the error to stderr. first, the printed string str is followed by a colon and
  • Calloc () function in C

    Calloc () function in C
    the function void * calloc (so-phan-tu, kich-co-phan-tu) allocates the requested memory and returns a pointer to it. the difference between malloc and calloc is: malloc does not
  • Free () function in C

    Free () function in C
    the void free function (void * ptr) frees the previously allocated memory by a call to calloc, malloc, or realloc
  • The function atexit () in C

    The function atexit () in C
    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 exit () function in C

    The exit () function in C
    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
  • Function tmpfile () in C

    Function tmpfile () in C
    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
  • Function tmpnam () in C

    Function tmpnam () in C
    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,
  • Function fprintf () in C

    Function fprintf () in C
    the int fprintf function (file * stream, const char * format, ...) in standard c library sends formatted output to a stream.
  • The function gets () in C

    The function gets () in C
    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
  • Function vfprintf () in C

    Function vfprintf () in C
    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 vsprintf () in C

    The function vsprintf () in C
    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.
  • Function fscanf () in C

    Function fscanf () in C
    the int fscanf function (file * stream, const char * format, ...) in library c reads the input formatted from a stream.
  • Function scanf () in C

    Function scanf () in C
    the function int scanf (const char * format, ...) in library c standard reads input that has been formatted from stdin.
  • The function sscanf () in C

    The function sscanf () in C
    the function int sscanf (const char * str, const char * format, ...) in library c standard reads the input formatted from a string.
  • Function fgetc () in C

    Function fgetc () in C
    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.
  • Function fgets () in C

    Function fgets () in C
    char * fgets (char * str, int n, file * stream) in standard c library reads a line from the given stream and stores it in the string pointed by str. it stops when any of the
  • Function fputc () in C

    Function fputc () in C
    the function int fputc (int char, file * stream) in library c writes one character (an unsigned char) defined by the char parameter to the given stream and increases the position
  • Function fputs () in C

    Function fputs () in C
    the function int fputs (const char * str, file * stream) in the standard c library writes a string to the specified stream (not writing null characters).
  • Function feof () in C

    Function feof () in C
    the int feof function (file * stream) in the standard library c checks the end-of-file indicator for the given stream.