Copyright Digital Equipment Corp. All rights reserved.

fgets

   Reads a line from the specified file, up to one less than the
   specified maximum number of characters or up to and including the
   new-line character, whichever comes first. The function stores
   the string in str.

   Format

     #include  <stdio.h>

     char *fgets  (char *str, int maxchar, FILE *file_ptr);
 


Additional information available:

Function_Variants               Arguments       Description     Return_Values
Example