aboutsummaryrefslogtreecommitdiffstats
path: root/man3/sem_close.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
commit2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch)
tree4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man3/sem_close.3
parent2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff)
downloadman-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz
Fix inconsistencies in order of .SH sections
Diffstat (limited to 'man3/sem_close.3')
-rw-r--r--man3/sem_close.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/sem_close.3 b/man3/sem_close.3
index ee8301a010..7b75720483 100644
--- a/man3/sem_close.3
+++ b/man3/sem_close.3
@@ -35,10 +35,6 @@ closes the named semaphore referred to by
.IR sem ,
allowing any resources that the system has allocated to
the calling process for this semaphore to be freed.
-.SH NOTES
-All open named semaphores are automatically closed on process
-termination, or upon
-.BR execve (2).
.SH RETURN VALUE
On success
.BR sem_close ()
@@ -52,6 +48,10 @@ set to indicate the error.
is not a valid semaphore.
.SH CONFORMING TO
POSIX.1-2001.
+.SH NOTES
+All open named semaphores are automatically closed on process
+termination, or upon
+.BR execve (2).
.SH "SEE ALSO"
.BR sem_getvalue (3),
.BR sem_open (3),