Mercurial > hg > Members > kono > nitros9-code
diff docs/ccguide/gets.refentry @ 598:a74b8d8c28db
All refentries finished.
author | roug |
---|---|
date | Fri, 15 Nov 2002 21:49:51 +0000 |
parents | 253b6096ee01 |
children |
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>