X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..0f3b947bda5f34662a611272b9f12199e0da9aca:/fatfs/doc/en/gets.html diff --git a/fatfs/doc/en/gets.html b/fatfs/doc/en/gets.html deleted file mode 100644 index c843952..0000000 --- a/fatfs/doc/en/gets.html +++ /dev/null @@ -1,65 +0,0 @@ - - -
- - - - - -The f_gets reads a string from the file.
--TCHAR* f_gets ( - TCHAR* buff, /* [OUT] Read buffer */ - int len, /* [IN] Size of the read buffer */ - FIL* fp /* [IN] File object */ -); --
When the function succeeded, buff will be returuned.
-The f_gets() function is a wrapper function of f_read() function. The read operation continues until a '\n' is stored, reached end of the file or the buffer is filled with len - 1 characters. The read string is terminated with a '\0'. When no character to read or any error occured during read operation, it returns a null pointer. The status of EOF and error can be examined with f_eof() and f_error() macros.
-When FatFs is configured to Unicode API (_LFN_UNICODE == 1), data types on the srting fuctions, f_putc(), f_puts(), f_printf() and f_gets(), is also switched to Unicode. The character encoding on the file to be read/written via those functions is selected by _STRF_ENCODE option.
-Available when _USE_STRFUNC is 1 or 2. When it is set to 2, '\r's contained in the file are stripped out.
-