parameter in c

  • The function strtod () in C

    The function strtod () in C

    the double strtod function (const char * str, char ** endptr) in standard c library converts a string pointed to by parameter str to a floating point number (type double).
  • Function strtol () in C

    Function strtol () in C

    the function long int strtol (const char * str, char ** endptr, int base) in standard c library converts part of the original string in str to a value of long int corresponding to the base base, but must are 2, 8, ..., 36, or special value 0.
  • Function strtoul () in C

    Function strtoul () in C

    the unsigned function long int strtoul (const char * str, char ** endptr, int base) in standard c library converts part of the original string in str to a value of long int corresponding to the base base, given can be 2, 8, ..., 36, or special value 0.
  • Malloc () function in C

    Malloc () function in C

    the malloc () function allocates the requested memory and returns a pointer to it.
  • Function realloc () in C

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

    The abort () function in C

    the abort () function stops executing the program abnormally.
  • Remove () function in C

    Remove () function in C

    the int remove (const char * filename) function in library c standard deletes the filename so it is no longer accessible.
  • Rename () function in C

    Rename () function in C

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

    Function setbuf () in C

    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 stream has been opened, but before any input or output operation has taken place.
  • The function setvbuf () in C

    The function setvbuf () in C

    the function int setvbuf (file * stream, char * buffer, int mode, size_t size) in standard c library determines how a stream should be buffered.
  • The sprintf () function in C

    The sprintf () function in C

    the int sprintf function (char * str, const char * format, ...) in the standard c library sends the formatted output to a string str.
  • The function getc () in C

    The function getc () in C

    the function int getc (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.