]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r210679:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Aug 2010 08:49:53 +0000 (08:49 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Aug 2010 08:49:53 +0000 (08:49 +0000)
commit466d8841195537dd94aa536b95bcb8e80da3acd7
tree78be88fe298091434b070d930684b80f4af01992
parent5cc0710624057d37659e3195a4208dd9b569b22e
MFC r210679:
Report the time left for the sleep on SIGINFO.
Be stricter in the checking of interval specification.

MFC r210696:
Deal with proper format for printing time_t.

MFC r210749:
Simplify argument parser by using sscanf(); simplify usage() by not
refusing to use stdio.
Reduce nesting level in the sleep loop by returning earlier for negative
timeouts.
Limit the maximum timeout to INT_MAX seconds.

MFC r210750:
Document the new argument parser for sleep(1) and SIGINFO behaviour.
Remove higlight for the unportability notice.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211536 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sleep/sleep.1
bin/sleep/sleep.c