improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:

committed by
Jean-Baptiste Queru

parent
1297428e89
commit
a910abcd19
@@ -63,12 +63,12 @@ fgets(char *buf, int n, FILE *fp)
|
||||
/* EOF/error: stop with partial or no line */
|
||||
if (s == buf)
|
||||
return (NULL);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
len = fp->_r;
|
||||
p = fp->_p;
|
||||
|
||||
|
||||
/*
|
||||
* Scan through at most n bytes of the current buffer,
|
||||
* looking for '\n'. If found, copy up to and including
|
||||
|
Reference in New Issue
Block a user