.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
-.\"
+.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date. The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.
-.\"
+.\" the use of the information contained herein.
+.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.BR sem_close ()
closes the named semaphore referred to by
.IR sem ,
-allowing any resources that the system has allocated to
+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
+All open named semaphores are automatically closed on process
termination, or upon
.BR execve (2).
.SH RETURN VALUE
On success
.BR sem_close ()
returns 0; on error, \-1 is returned, with
-.I errno
+.I errno
set to indicate the error.
.SH ERRORS
.TP