diff options
author | jilles <jilles@FreeBSD.org> | 2013-05-28 22:07:31 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-05-28 22:07:31 +0000 |
commit | 95192e8f55193ed0e4619c6192dbab1c23eb84d8 (patch) | |
tree | 3bec83639c75f4ef73930610bfa741cda65f44be /lib/libc/stdlib/system.c | |
parent | 4f8aa13b4a8cb4702c8cf4795a91fb5302ae335f (diff) | |
download | FreeBSD-src-95192e8f55193ed0e4619c6192dbab1c23eb84d8.zip FreeBSD-src-95192e8f55193ed0e4619c6192dbab1c23eb84d8.tar.gz |
sleep: Improve nanosleep() error handling:
* Work around kernel bugs that cause a spurious [EINTR] return if a
debugger (such as truss(1)) is attached.
* Write an error message if an error other than [EINTR] occurs.
PR: bin/178664
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions