b6ce735c04
- Add strsuftoull(), which parses a number into a u_longlong_t, with multiplication support, and support for 'g' (GB) and 't' (TB) suffices. If an error occurs, print to stderr and exit. Based on get_blk() from args.c and strsufto*() (in other programs) - Add strsuftoullx(), which acts as per strsuftoull() but returns the error in the supplied buffer instead (if the returned buffer != "", an error occurred) - Replace get_bsz() use with strsuftoull() - Remove (now) unnecessary argument validation - Remove unused {f,p,s,t}_stats fields in struct IO
10 lines
207 B
Makefile
10 lines
207 B
Makefile
# $NetBSD: Makefile,v 1.8 2001/11/25 10:50:06 lukem Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
|
|
PROG= dd
|
|
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c strsuftoull.c
|
|
|
|
WARNS=2
|
|
|
|
.include <bsd.prog.mk>
|