HomeFreeBSD

Don't return EINVAL for negative timespecs in the nanosleep functions.

Description

Don't return EINVAL for negative timespecs in the nanosleep functions.
Negative timespecs are perfectly valid. Just return 0 immediately
for them. Also, return 0 immediately for zero timespecs.

Fixed some style bugs.

Details

Provenance
Bruce Evans <bde@FreeBSD.org>Authored on Aug 26 1997, 12:40 AM
Parents
rGc9c3deeddcf3: .Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org>
Branches
Unknown
Tags
Unknown

Event Timeline