Mercurial > hg > Members > kono > nitros9-code
comparison docs/ccguide/gets.refentry @ 598:a74b8d8c28db
All refentries finished.
author | roug |
---|---|
date | Fri, 15 Nov 2002 21:49:51 +0000 |
parents | 253b6096ee01 |
children |
comparison
equal
deleted
inserted
replaced
597:2e76fecc5ca0 | 598:a74b8d8c28db |
---|---|
25 | 25 |
26 </refsynopsisdiv> | 26 </refsynopsisdiv> |
27 | 27 |
28 <refsect1><title>Description</title> | 28 <refsect1><title>Description</title> |
29 <para> | 29 <para> |
30 Placeholder | 30 Fgets reads characters from the file "fp" and places them in |
31 the buffer pointed to by "s" up to a carriage return ('\n') but | |
32 not more than "n" - 1 characters. A null character is appended | |
33 to the end of the string. | |
34 </para> | |
35 <para> | |
36 Gets is similar to fgets, but gets is applied to "stdin" and no | |
37 maximum is stipulated and '\n' is replaced by a null. | |
38 </para> | |
39 <para> | |
40 Both functions return their first arguments. | |
31 </para> | 41 </para> |
32 </refsect1> | 42 </refsect1> |
33 | 43 |
34 <refsect1><title>Caveats</title> | 44 <refsect1><title>Caveats</title> |
35 <para> | 45 <para> |