'\" 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.
.\"
.\" 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
.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
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/.