home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
programming
/
mkid
/
src
/
getsff.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-01
|
418b
|
29 lines
/* Copyright (c) 1986, Greg McGary */
static char sccsid[] = "@(#)getsFF.c 1.1 86/10/09";
#include <stdio.h>
int getsFF();
void skipFF();
int
getsFF(buf0, inFILE)
char *buf0;
register FILE *inFILE;
{
register char *buf = buf0;
while (((*buf++ = getc(inFILE)) & 0xff) != 0xff)
;
return (buf - buf0 - 1);
}
void
skipFF(inFILE)
register FILE *inFILE;
{
while ((getc(inFILE) & 0xff) != 0xff)
;
return;
}