diff options
author | Ian Darwin <ian@cvs.openbsd.org> | 2003-05-15 01:26:27 +0000 |
---|---|---|
committer | Ian Darwin <ian@cvs.openbsd.org> | 2003-05-15 01:26:27 +0000 |
commit | fb92063b7dfc6f6050dfdefa38167597ea80aaad (patch) | |
tree | bfed06da1d26fc95a7853f5bbd6cd19b76f95464 /lib/libutil/Makefile | |
parent | d68ce9545a045e0c1e4b393bc3000c90487564c7 (diff) |
New: fmt_scaled() and scan_scaled() convert to and from "human readable"
or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's
code for "df -h"; scan_scaled is new. Significantly commented on
and reworked by pjanzen@; other comments from millert@. OK pjanzen@.
Diffstat (limited to 'lib/libutil/Makefile')
-rw-r--r-- | lib/libutil/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index 3b400f3d833..c64984c8b28 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.25 2001/09/29 17:45:35 jakob Exp $ +# $OpenBSD: Makefile,v 1.26 2003/05/15 01:26:26 ian Exp $ # $NetBSD: Makefile,v 1.8 1996/05/16 07:03:28 thorpej Exp $ LIB= util @@ -7,11 +7,13 @@ CFLAGS+=-DLIBC_SCCS HDRS= util.h scsi.h SRCS= check_expire.c getmaxpartitions.c getrawpartition.c login.c \ login_tty.c logout.c logwtmp.c opendev.c passwd.c pty.c readlabel.c \ - scsi.c login_fbtab.c uucplock.c fparseln.c opendisk.c pidfile.c + scsi.c login_fbtab.c uucplock.c fparseln.c opendisk.c pidfile.c \ + fmt_scaled.c MAN= check_expire.3 getmaxpartitions.3 getrawpartition.3 login.3 opendev.3 \ openpty.3 pw_init.3 pw_lock.3 readlabelfs.3 scsi.3 pw_getconf.3 \ - uucplock.3 fparseln.3 opendisk.3 login_fbtab.3 pidfile.3 + uucplock.3 fparseln.3 opendisk.3 login_fbtab.3 pidfile.3 \ + fmt_scaled.3 MLINKS+=login.3 logout.3 MLINKS+=login.3 logwtmp.3 @@ -42,6 +44,7 @@ MLINKS+=uucplock.3 uu_lock.3 MLINKS+=uucplock.3 uu_unlock.3 MLINKS+=uucplock.3 uu_lockerr.3 MLINKS+=uucplock.3 uu_lock_txfr.3 +MLINKS+=fmt_scaled.3 scan_scaled.3 includes: @cd ${.CURDIR}; for i in $(HDRS); do \ |