OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / sem_close.3
index 0d4bbaf..f9daffa 100644 (file)
@@ -1,8 +1,7 @@
 '\" t
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -22,8 +21,9 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
-.TH SEM_CLOSE 3 2006-03-25 "Linux" "Linux Programmer's Manual"
+.TH SEM_CLOSE 3 2012-05-13 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sem_close \- close a named semaphore
 .SH SYNOPSIS
@@ -33,7 +33,7 @@ sem_close \- close a named semaphore
 .BI "int sem_close(sem_t *" sem );
 .fi
 .sp
-Link with \fI\-lrt\fP or \fI\-pthread\fP.
+Link with \fI\-pthread\fP.
 .SH DESCRIPTION
 .BR sem_close ()
 closes the named semaphore referred to by
@@ -57,10 +57,19 @@ POSIX.1-2001.
 All open named semaphores are automatically closed on process
 termination, or upon
 .BR execve (2).
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR sem_getvalue (3),
 .BR sem_open (3),
 .BR sem_post (3),
 .BR sem_unlink (3),
 .BR sem_wait (3),
 .BR sem_overview (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.