diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-02-27 22:22:03 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-02-27 22:22:03 +0100 |
| commit | ad3209fc52126c70c34cae8429c601f9d1f0197f (patch) | |
| tree | c5cc9ab33188e4f28e75fb3c825b3282b6b6d08c | |
| parent | ae0f7f24b3c7f58e419e5020ae7bce472149cc9f (diff) | |
| download | man-pages-ad3209fc52126c70c34cae8429c601f9d1f0197f.tar.gz | |
sem_close.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
| -rw-r--r-- | man3/sem_close.3 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/sem_close.3 b/man3/sem_close.3 index 93b90fb54f..b09a7b8873 100644 --- a/man3/sem_close.3 +++ b/man3/sem_close.3 @@ -5,14 +5,15 @@ .TH SEM_CLOSE 3 2021-03-22 "Linux" "Linux Programmer's Manual" .SH NAME sem_close \- close a named semaphore +.SH LIBRARY +POSIX threads library +.RI ( libpthread ", " -lpthread ) .SH SYNOPSIS .nf .B #include <semaphore.h> .PP .BI "int sem_close(sem_t *" sem ); .fi -.PP -Link with \fI\-pthread\fP. .SH DESCRIPTION .BR sem_close () closes the named semaphore referred to by |
