VMS Help  —  CRTL  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: explode extract
Function Variants Arguments Description Return Values Example
Close Help