assumed that sizeof(struct acct) was a power of 2; also misused off_t
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 13 Jul 1992 14:17:12 +0000 (06:17 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 13 Jul 1992 14:17:12 +0000 (06:17 -0800)
commit0d0548b32917dd50f7617cb8668b7394a9b11338
tree6b1ff60a0e23d7ea6470f47688e44f28ec39400d
parentd20ddef7c671a93b4ab9e7bbae4f874121292632
assumed that sizeof(struct acct) was a power of 2; also misused off_t
rewrite to use stdio instead of read/write, fseek is pretty efficient
use the dev_mkdb database, prototype functions, random assorted cleanups

SCCS-vsn: usr.bin/lastcomm/lastcomm.c 5.12
SCCS-vsn: usr.bin/lastcomm/Makefile 5.5
usr/src/usr.bin/lastcomm/Makefile
usr/src/usr.bin/lastcomm/lastcomm.c