*
* The available "test" conditions are as follows:
*
- * '0': check against the line being empty (not even containing a \n char)
+ * '0': check for "line" not being empty (not even containing a \n char)
* 'n': check for "line" ending with an \n char
* 'e': check for "line" starting with an \n char
* 'f': check for "line" not starting with an \n char
* 'i': check for "line" describing an integer in all its chars before end or \n
* (i.e. all other chars must be digits, except the first char, which may
* be '+' or '-'; a '+' or '-' without digits following is invalid)
- */
-extern void err_try_fgets(char * line, uint32_t linemax, FILE * file,
- char * context, char * test);
+ * '8': check for "line" describing an integer smaller than or equal UINT8_MAX
+*/
+extern char * err_try_fgets(char * line, uint32_t linemax, FILE * file,
+ char * context, char * test);