20 lines
364 B
C
20 lines
364 B
C
# include "../hdr/defines.h"
|
|
|
|
SCCSID(@(#)sid_ab.c 1.1 94/10/31 SMI); /* from System III 5.1 */
|
|
|
|
char *
|
|
sid_ab(p,sp)
|
|
register char *p;
|
|
register struct sid *sp;
|
|
{
|
|
extern char *satoi();
|
|
if (*(p = satoi(p,&sp->s_rel)) == '.')
|
|
p++;
|
|
if (*(p = satoi(p,&sp->s_lev)) == '.')
|
|
p++;
|
|
if (*(p = satoi(p,&sp->s_br)) == '.')
|
|
p++;
|
|
p = satoi(p,&sp->s_seq);
|
|
return(p);
|
|
}
|