Mercurial > hg > Members > kono > nitros9-code
changeset 598:a74b8d8c28db
All refentries finished.
author | roug |
---|---|
date | Fri, 15 Nov 2002 21:49:51 +0000 |
parents | 2e76fecc5ca0 |
children | 7a260a55c5ee |
files | docs/ccguide/gets.refentry |
diffstat | 1 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/ccguide/gets.refentry Fri Nov 15 21:49:51 2002 +0000 +++ b/docs/ccguide/gets.refentry Fri Nov 15 21:49:51 2002 +0000 @@ -27,7 +27,17 @@ <refsect1><title>Description</title> <para> -Placeholder +Fgets reads characters from the file "fp" and places them in +the buffer pointed to by "s" up to a carriage return ('\n') but +not more than "n" - 1 characters. A null character is appended +to the end of the string. +</para> +<para> +Gets is similar to fgets, but gets is applied to "stdin" and no +maximum is stipulated and '\n' is replaced by a null. +</para> +<para> +Both functions return their first arguments. </para> </refsect1>