diff --git a/lib/libc/gen/sem_getvalue.3 b/lib/libc/gen/sem_getvalue.3 index bc71e4d6c3e..5f59b06aa4f 100644 --- a/lib/libc/gen/sem_getvalue.3 +++ b/lib/libc/gen/sem_getvalue.3 @@ -65,8 +65,8 @@ points to an invalid semaphore. .El .Sh SEE ALSO .Xr sem_post 3 , -.Xr sem_wait 3 , -.Xr sem_trywait 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_getvalue conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libc/gen/sem_init.3 b/lib/libc/gen/sem_init.3 index 8abab14f0f1..b48cca17a30 100644 --- a/lib/libc/gen/sem_init.3 +++ b/lib/libc/gen/sem_init.3 @@ -82,10 +82,10 @@ Memory allocation error. Unable to initialize a shared semaphore. .El .Sh SEE ALSO -.Xr sem_wait 3 , -.Xr sem_trywait 3 , +.Xr sem_destroy 3 , .Xr sem_post 3 , -.Xr sem_destroy 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_init conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libc/gen/sem_post.3 b/lib/libc/gen/sem_post.3 index ee8d7e56137..e877933250f 100644 --- a/lib/libc/gen/sem_post.3 +++ b/lib/libc/gen/sem_post.3 @@ -64,8 +64,8 @@ will fail if: points to an invalid semaphore. .El .Sh SEE ALSO -.Xr sem_wait 3 , -.Xr sem_trywait 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_post conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libc_r/man/sem_getvalue.3 b/lib/libc_r/man/sem_getvalue.3 index bc71e4d6c3e..5f59b06aa4f 100644 --- a/lib/libc_r/man/sem_getvalue.3 +++ b/lib/libc_r/man/sem_getvalue.3 @@ -65,8 +65,8 @@ points to an invalid semaphore. .El .Sh SEE ALSO .Xr sem_post 3 , -.Xr sem_wait 3 , -.Xr sem_trywait 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_getvalue conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libc_r/man/sem_init.3 b/lib/libc_r/man/sem_init.3 index 8abab14f0f1..b48cca17a30 100644 --- a/lib/libc_r/man/sem_init.3 +++ b/lib/libc_r/man/sem_init.3 @@ -82,10 +82,10 @@ Memory allocation error. Unable to initialize a shared semaphore. .El .Sh SEE ALSO -.Xr sem_wait 3 , -.Xr sem_trywait 3 , +.Xr sem_destroy 3 , .Xr sem_post 3 , -.Xr sem_destroy 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_init conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libc_r/man/sem_post.3 b/lib/libc_r/man/sem_post.3 index ee8d7e56137..e877933250f 100644 --- a/lib/libc_r/man/sem_post.3 +++ b/lib/libc_r/man/sem_post.3 @@ -64,8 +64,8 @@ will fail if: points to an invalid semaphore. .El .Sh SEE ALSO -.Xr sem_wait 3 , -.Xr sem_trywait 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_post conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libpthread/man/sem_getvalue.3 b/lib/libpthread/man/sem_getvalue.3 index bc71e4d6c3e..5f59b06aa4f 100644 --- a/lib/libpthread/man/sem_getvalue.3 +++ b/lib/libpthread/man/sem_getvalue.3 @@ -65,8 +65,8 @@ points to an invalid semaphore. .El .Sh SEE ALSO .Xr sem_post 3 , -.Xr sem_wait 3 , -.Xr sem_trywait 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_getvalue conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libpthread/man/sem_init.3 b/lib/libpthread/man/sem_init.3 index 8abab14f0f1..b48cca17a30 100644 --- a/lib/libpthread/man/sem_init.3 +++ b/lib/libpthread/man/sem_init.3 @@ -82,10 +82,10 @@ Memory allocation error. Unable to initialize a shared semaphore. .El .Sh SEE ALSO -.Xr sem_wait 3 , -.Xr sem_trywait 3 , +.Xr sem_destroy 3 , .Xr sem_post 3 , -.Xr sem_destroy 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_init conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libpthread/man/sem_post.3 b/lib/libpthread/man/sem_post.3 index ee8d7e56137..e877933250f 100644 --- a/lib/libpthread/man/sem_post.3 +++ b/lib/libpthread/man/sem_post.3 @@ -64,8 +64,8 @@ will fail if: points to an invalid semaphore. .El .Sh SEE ALSO -.Xr sem_wait 3 , -.Xr sem_trywait 3 +.Xr sem_trywait 3 , +.Xr sem_wait 3 .Sh STANDARDS .Fn sem_post conforms to ISO/IEC 9945-1 ANSI/IEEE