rd_bytes.c File Reference

Go to the source code of this file.

Defines

#define MININT   (1 << (sizeof(int) * 8 - 1))
#define MAXCHUNK   (~MININT)

Functions

int rd_bytes (fd, char *string, long cnt)

Variables

static int maxchunk = MAXCHUNK


Define Documentation

#define MAXCHUNK   (~MININT)
 

Definition at line 7 of file rd_bytes.c.

#define MININT   (1 << (sizeof(int) * 8 - 1))
 

Definition at line 6 of file rd_bytes.c.

Referenced by _wsi().


Function Documentation

int rd_bytes fd  ,
char *  string,
long  cnt
 

Definition at line 19 of file rd_bytes.c.

References maxchunk, n, rd_fatal(), and read.

Referenced by rd_unsigned2().


Variable Documentation

int maxchunk = MAXCHUNK [static]
 

Definition at line 12 of file rd_bytes.c.

Referenced by rd_bytes(), and wr_bytes().


Generated on Fri Apr 14 22:57:54 2006 for minix by  doxygen 1.4.6