From 15096da3f462004928a91bd809b41fbb4d4c36f2 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 24 Oct 2014 19:55:49 +0000 Subject: [PATCH] Don't reference sem(4) from the POSIX semaphore pages. POSIX semaphores were reimplemented using umtx in FreeBSD 9 and no longer use sem(4). --- lib/libc/gen/sem_destroy.3 | 3 +-- lib/libc/gen/sem_getvalue.3 | 3 +-- lib/libc/gen/sem_init.3 | 3 +-- lib/libc/gen/sem_open.3 | 3 +-- lib/libc/gen/sem_post.3 | 3 +-- lib/libc/gen/sem_timedwait.3 | 3 +-- lib/libc/gen/sem_wait.3 | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/lib/libc/gen/sem_destroy.3 b/lib/libc/gen/sem_destroy.3 index f488b4efe08d..b43742065620 100644 --- a/lib/libc/gen/sem_destroy.3 +++ b/lib/libc/gen/sem_destroy.3 @@ -67,8 +67,7 @@ There are currently threads blocked on the semaphore that points to. .El .Sh SEE ALSO -.Xr sem_init 3 , -.Xr sem 4 +.Xr sem_init 3 .Sh STANDARDS The .Fn sem_destroy diff --git a/lib/libc/gen/sem_getvalue.3 b/lib/libc/gen/sem_getvalue.3 index a8dd177ea381..d81c2b17eaaa 100644 --- a/lib/libc/gen/sem_getvalue.3 +++ b/lib/libc/gen/sem_getvalue.3 @@ -65,8 +65,7 @@ points to an invalid semaphore. .Sh SEE ALSO .Xr sem_post 3 , .Xr sem_trywait 3 , -.Xr sem_wait 3 , -.Xr sem 4 +.Xr sem_wait 3 .Sh STANDARDS The .Fn sem_getvalue diff --git a/lib/libc/gen/sem_init.3 b/lib/libc/gen/sem_init.3 index 52bcb75dedf8..a96749b0bad2 100644 --- a/lib/libc/gen/sem_init.3 +++ b/lib/libc/gen/sem_init.3 @@ -93,8 +93,7 @@ Memory allocation error. .Xr sem_getvalue 3 , .Xr sem_post 3 , .Xr sem_trywait 3 , -.Xr sem_wait 3 , -.Xr sem 4 +.Xr sem_wait 3 .Sh STANDARDS The .Fn sem_init diff --git a/lib/libc/gen/sem_open.3 b/lib/libc/gen/sem_open.3 index 35276057898f..2fdc01934172 100644 --- a/lib/libc/gen/sem_open.3 +++ b/lib/libc/gen/sem_open.3 @@ -210,8 +210,7 @@ The named semaphore does not exist. .Xr sem_getvalue 3 , .Xr sem_post 3 , .Xr sem_trywait 3 , -.Xr sem_wait 3 , -.Xr sem 4 +.Xr sem_wait 3 .Sh STANDARDS The .Fn sem_open , diff --git a/lib/libc/gen/sem_post.3 b/lib/libc/gen/sem_post.3 index 67559cc541bd..485d2fcb54f8 100644 --- a/lib/libc/gen/sem_post.3 +++ b/lib/libc/gen/sem_post.3 @@ -69,8 +69,7 @@ points to an invalid semaphore. .Sh SEE ALSO .Xr sem_getvalue 3 , .Xr sem_trywait 3 , -.Xr sem_wait 3 , -.Xr sem 4 +.Xr sem_wait 3 .Sh STANDARDS The .Fn sem_post diff --git a/lib/libc/gen/sem_timedwait.3 b/lib/libc/gen/sem_timedwait.3 index 3a58d41941bd..254af6041724 100644 --- a/lib/libc/gen/sem_timedwait.3 +++ b/lib/libc/gen/sem_timedwait.3 @@ -108,8 +108,7 @@ A signal interrupted this function. .Sh SEE ALSO .Xr sem_post 3 , .Xr sem_trywait 3 , -.Xr sem_wait 3 , -.Xr sem 4 +.Xr sem_wait 3 .Sh STANDARDS The .Fn sem_timedwait diff --git a/lib/libc/gen/sem_wait.3 b/lib/libc/gen/sem_wait.3 index 9de8ba8a0e79..cb5a2f68b782 100644 --- a/lib/libc/gen/sem_wait.3 +++ b/lib/libc/gen/sem_wait.3 @@ -92,8 +92,7 @@ The semaphore value was zero, and thus could not be decremented. .Sh SEE ALSO .Xr sem_getvalue 3 , .Xr sem_post 3 , -.Xr sem_timedwait 3 , -.Xr sem 4 +.Xr sem_timedwait 3 .Sh STANDARDS The .Fn sem_wait