Function: #include
Function: int Fscanf (file * stream, const char * format, ...) Features: It is fully similar to scanf (), but information is read from the stream specified by Stream, instead of reading in stdin. In C99, Stream is Restrict is modified. Returns the actual value of the change in the value, where it is not calculated, returning EOF is indicated to the first variable element assignment before it is wrong. Function: int FSeek (long int offer: Follow the OFFSET and Origin Value Settings The File Location Indicator associated with the stream Stream is to support random access I / O operations. Where: Offest is the number of bytes that origiin starts to find. The value of the values defined in stdio.h must be the macro value defined in stdio.h. Seek_set --------- From the beginning of the file; seek_cur --------- from the current file; seek_end --------- Address from the end of the file Function: int FSETPOD (File * Stream, const fpoE_t * position); Function: Move the file's location indication to the point you refer to the object. The value of the Position object must be used in advance with FGETOPS (). Function: long int Ftell (File * Stream); Function: Returns the current file location value of the specified stream. For binary stream, this value is the number of bytes calculated from the file. For text streams, in addition to making FSEEK () may be completely Significance, because there is a possibility of character transformation. Function: size_t fwrite (const void * buf, size_t size, size_t count, file * stream); function: Write the count object in the character array pointed to the BUF to the stream stream, each The object length is Size byte. In C99, BUF and stream are modified by restrict. Function: Int Remove (const char * fname); Function: Delete files with the fname string are named. Successful return 0. Function: int Rename (const char * oldfname, const char * newfname) Features: Put the name of the file by Oldfname Change to newfname. Success return 0; function: Void Rewind (file * stream); function: Move the file location to the beginning of the specified stream, and clear the file tail flag and error flag associated with the stream. Function: void setbuf (FILE * STREAM, CHAR * BUF) Function: When the BUF is an empty pointer, setbuf () stops the buffer processing of the streaming Stream; the setBUF () set the stream of the stream as the area referred to as BUF. Function: int setvbuf (File * Stream, Char * BUF, INT MODE, SIZE_T SIZE); Function: Allows the size of the buffer, the size and buffer of the buffer to the specified stream. Function: int Snprintf (Char * Restrict BUF, Size_t Num, Const Char * Restrict Format, ...); Function: This function is added in C99. Almost and sprintf () is identical. Function: int sscanf (const charf, const char * format, .. .....); Function: Same as scanf (), but SSCANF () is read from the array pointing from BUF and is not read from STDIN. In C99, BUF and Stream are modified by restrict. Function: File * TMPFile (VIOD); Function: Open a temporary binary for read and write operations and returns a pointer to the stream. The file automatically constructs the unique file name so that it is not conflict with existing files. Function: char * tmpname (char * name); Function: Generate a unique file name, the result is placed in the character array Name.