Mercurial > hg > Members > kono > nitros9-code
view 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 source
<refentry id="gets"> <refnamediv> <refname>Gets</refname> <refname>Fgets</refname> <refpurpose>input a string</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> #include <stdio.h> </funcsynopsisinfo> <funcprototype> <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> </refsynopsisdiv> <refsect1><title>Description</title> <para> Placeholder </para> </refsect1> <refsect1><title>Caveats</title> <para> The different treatment of the "\n" by these functions is retained here for portability reasons. </para> </refsect1> <refsect1><title>Diagnostics</title> <para> Both functions return NULL on end-of-file or error. </para> </refsect1> <refsect1><title>See Also</title> <para> <link linkend="puts">puts()</link>, <link linkend="getc">getc()</link>, <link linkend="scanf">scanf()</link>, <link linkend="fread">fread()</link> </para> </refsect1> </refentry>