FreeBSD/usr.bin/lastcomm/readrec.c
/*
 * Read an v2 accounting record stored at the current
 * position of stream f.
 * Return EOF on error or end-of-file.
 */
Read an v2 accounting record stored at the current
position of stream f.
Return EOF on error or end-of-file.
Read an v2 accounting record stored at the current position of stream f . Return EOF on error or end - of - file .
static int
readrec_v2(FILE *f, struct acctv2 *av2)
{
	return (fread_record(av2, sizeof(*av2), f));
}
static int readrec_v2 ( FILE * f , struct acctv2 * av2 ) { return ( fread_record ( av2 , sizeof ( * av2 ) , f ) ) ; }
Read an v2 accounting record stored at the current
 position of stream f.
 Return EOF on error or end-of-file.
Read an v2 accounting record stored at the current position of stream f . Return EOF on error or end - of - file .