[6232] in Athena Bugs

home help back first fref pref prev next nref lref last post

fgets manpage on the decmips

daemon@ATHENA.MIT.EDU (web@ATHENA.MIT.EDU)
Wed Oct 17 12:26:15 1990

From: web@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 17 Oct 90 12:25:37 EDT


>man fgets

gets(3s)            UNIX Programmer's Manual             gets(3s)

NAME
     gets, fgets - get a string from a stream

SYNTAX
     #include <stdio.h>

     char *gets(s)
     char *s;

     char *fgets(s, n, stream)
     char *s;
     FILE *stream;

======================================================================

int n; 
is missing from the fgets syntax part. 

-Chee 

home help back first fref pref prev next nref lref last post