SysIII/usr/src/cmd/sccs/lib/stats_ab.c

Compare this file to the similar file:
Show the results in this format:

# include	"../hdr/defines.h"

SCCSID(@(#)stats_ab	5.1);

stats_ab(pkt,statp)
register struct packet *pkt;
register struct stats *statp;
{
	extern	char	*satoi();
	register char *p;

	p = pkt->p_line;
	if (getline(pkt) == NULL || *p++ != CTLCHAR || *p++ != STATS)
		fmterr(pkt);
	NONBLANK(p);
	p = satoi(p,&statp->s_ins);
	p = satoi(++p,&statp->s_del);
	satoi(++p,&statp->s_unc);
}