home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
tex
/
dvivga9.arc
/
GETBYTES.H
< prev
next >
Wrap
Text File
|
1988-05-30
|
504b
|
19 lines
/* -*-C-*- getbytes.h */
/*-->getbytes*/
/**********************************************************************/
/****************************** getbytes ******************************/
/**********************************************************************/
void
getbytes(fp, cp, n) /* get n bytes from file fp */
register FILE *fp; /* file pointer */
register char *cp; /* character pointer */
register BYTE n; /* number of bytes */
{
while (n--)
*cp++ = (char)getc(fp);
}