/* Copyright (c) 1979 Regents of the University of California */
static char sccsid
[] = "@(#)READE.c 1.1 10/29/80";
register struct iorec
*curfile
;
if (curfile
->funit
& FWRITE
) {
ERROR(EREADIT
, curfile
->pfname
);
if (fscanf(curfile
->fbuf
,
"%*[ \t\n]%74[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]",
ERROR(ENUMNTFD
, namebuf
);
for (len
= 0; len
< NAMSIZ
&& namebuf
[len
]; len
++)
cp
= name
+ sizeof (short) + *sptr
;
nextlen
= *sptr
- nextlen
;
if (nextlen
== len
&& RELEQ(len
, namebuf
, cp
)) {
return *((short *) name
) - cnt
;
ERROR(ENUMNTFD
, namebuf
);