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

#define NULL   0

Definition at line 9 of file fgets.c.


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.

int getc ( int   ) 


Generated on Thu Oct 9 22:34:50 2008 for xinu by  doxygen 1.5.5