Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/lib/libxc/fgets.c File Reference
Go to the source code of this file.
|
Defines |
#define | NULL 0 |
Functions |
int | getc (int) |
char * | fgets (int dev, char *s, int n) |
Detailed Description
fgets
- Id
- fgets.c 221 2007-07-11 18:45:46Z mschul
Definition in file fgets.c.
Define Documentation
Function Documentation
char* fgets |
( |
int |
dev, |
|
|
char * |
s, |
|
|
int |
n | |
|
) |
| | |
Read a newline-terminated string from device (file) dev
- Parameters:
-
| dev | device to read from |
| *s | buffer for result |
| n | maximum read length |
Definition at line 18 of file fgets.c.
References getc(), and NULL.