freebsd-dev/share/man
Eric van Gyzen 3f8455b090 Add clock_nanosleep()
Add a clock_nanosleep() syscall, as specified by POSIX.
Make nanosleep() a wrapper around it.

Attach the clock_nanosleep test from NetBSD. Adjust it for the
FreeBSD behavior of updating rmtp only when interrupted by a signal.
I believe this to be POSIX-compliant, since POSIX mentions the rmtp
parameter only in the paragraph about EINTR. This is also what
Linux does. (NetBSD updates rmtp unconditionally.)

Copy the whole nanosleep.2 man page from NetBSD because it is complete
and closely resembles the POSIX description. Edit, polish, and reword it
a bit, being sure to keep any relevant text from the FreeBSD page.

Reviewed by:	kib, ngie, jilles
MFC after:	3 weeks
Relnotes:	yes
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D10020
2017-03-19 00:51:12 +00:00
..
man1 share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
man3 Add clock_nanosleep() 2017-03-19 00:51:12 +00:00
man4 Update dtsec man page with correct config requirements. 2017-03-17 03:14:15 +00:00
man5 Regenerate after r315057 2017-03-11 06:58:28 +00:00
man6 Separate manual pages into their own package. 2016-01-21 16:36:33 +00:00
man7 hier(7): Fix entry location for /usr/share/vt. 2017-03-13 19:54:20 +00:00
man8 Remove backup_uses_rcs from rc.subr 2016-09-18 12:49:23 +00:00
man9 Add missing pieces of r315280 2017-03-14 22:02:02 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00