Fix issue

This commit is contained in:
Patrick Pelissier committed 2018-01-24 22:30:12 +01:00
1 parent 52bb23bb6f
commit 52ffa09f73
1 file changed
+3 -3
+3 -3
View File
@@ -2916,7 +2916,7 @@ Set the string 'v' to the formatted string format.
Appends to the string 'v' the formatted string format. Appends to the string 'v' the formatted string format.
'format' follows the printf function family. 'format' follows the printf function family.
##### bool string\_fgets(string\_t v, FILE *f, string\_fgets\_t arg) ##### bool string\_fgets(string\_t v, FILE \*f, string\_fgets\_t arg)
Read from the opened file 'f' a stream of characters and set 'v' Read from the opened file 'f' a stream of characters and set 'v'
with this stream. with this stream.
@@ -2927,14 +2927,14 @@ If arf is STRING\_READ\_PURE\_LINE, the character end of line
is removed from the string. is removed from the string.
Return true if something has been read, false otherwise. Return true if something has been read, false otherwise.
##### bool string\_fget\_word (string\_t v, const char separator[], FILE *f) ##### bool string\_fget\_word (string\_t v, const char separator[], FILE \*f)
Read a word from the file 'f' and set 'v' with this word. Read a word from the file 'f' and set 'v' with this word.
A word is separated from another by the list of characters in the array 'separator'. A word is separated from another by the list of characters in the array 'separator'.
(Example: "^ \t.\n"). (Example: "^ \t.\n").
It is highly recommended for separator to be a constant string. It is highly recommended for separator to be a constant string.
##### void string\_fputs(FILE *f, const string\_t v) ##### void string\_fputs(FILE \*f, const string\_t v)
Put the string in the file. Put the string in the file.