summaryrefslogtreecommitdiff
path: root/bin/dd/dd.h
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-07-01 00:01:35 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-07-01 00:01:35 +0000
commitada1a3eb56d0026ac9248c68d5e85cf810731da0 (patch)
tree02bcfa95d12507121df2d41238b133768e18caaa /bin/dd/dd.h
parent6e93a75983ae9033f35fc0ea5f4973ad44e72293 (diff)
sleep(1): simplify argument parsing
- No need for intermediate variables, just build the timespec directly - Use for-loops so we modify "cp" on a single line in each loop - Parse subseconds with one loop: less code, easier to read, etc. - Improve the subsecond parsing comment: make our intent really obvious ok schwarze@
Diffstat (limited to 'bin/dd/dd.h')
0 files changed, 0 insertions, 0 deletions