nästa upp förra
Nästa: Om detta dokument... Upp: Dokumentationskommentar. Förra: Dokumentationskommentar.

Form

Dokumentationskommentar för getline

/** getline
 *
 * getline reads one line from stdin and stores it in 
 * the given buffer. The newline is stored.
 *
 * The given buffer must be big enough to store the trailing '\0' 
 * (i.e. it must be at least one bigger than nmax).
 *
 */
void
getline (
    char   buf[],  /* IN: where to store line        */
    int    nmax,   /* IN: max #chars to read         */
    int   *nread);  /* OUT: #chars read, 0 means EOF  */



Jonas Mölsä
Sat Sep 13 13:46:34 MET DST 1997