Mercurial > hg > Members > kono > nitros9-code
diff docs/ccguide/gets.refentry @ 570:253b6096ee01
All function prototypes are added.
author | roug |
---|---|
date | Fri, 01 Nov 2002 10:02:34 +0000 |
parents | fcb97f0ba24b |
children | a74b8d8c28db |
line wrap: on
line diff
--- a/docs/ccguide/gets.refentry Thu Oct 31 22:05:32 2002 +0000 +++ b/docs/ccguide/gets.refentry Fri Nov 01 10:02:34 2002 +0000 @@ -1,7 +1,8 @@ <refentry id="gets"> <refnamediv> -<refname>gets</refname> -<refpurpose>Placeholder</refpurpose> +<refname>Gets</refname> +<refname>Fgets</refname> +<refpurpose>input a string</refpurpose> </refnamediv> <refsynopsisdiv> @@ -10,8 +11,15 @@ #include <stdio.h> </funcsynopsisinfo> <funcprototype> - <funcdef><function>gets</function></funcdef> - <paramdef>type <parameter>arg1</parameter></paramdef> + <funcdef>char *<function>gets</function></funcdef> + <paramdef>char *<parameter>s</parameter></paramdef> +</funcprototype> + +<funcprototype> + <funcdef>char *<function>fgets</function></funcdef> + <paramdef>char *<parameter>s</parameter></paramdef> + <paramdef>int <parameter>n</parameter></paramdef> + <paramdef>FILE *<parameter>fp</parameter></paramdef> </funcprototype> </funcsynopsis>