]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/sem_open.3: SYNOPSIS: This is a variadic function
authorAlejandro Colomar <alx@kernel.org>
Sun, 5 Jan 2025 12:44:32 +0000 (13:44 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 5 Jan 2025 12:44:32 +0000 (13:44 +0100)
Specify the prototype consistently with open(2).

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/sem_open.3

index 6a2aceb50d1bf9fc0a5756d8f06175e37c3a39d8..35275a024be25a6629fd92b60c3529249c47d7f3 100644 (file)
@@ -15,9 +15,8 @@ POSIX threads library
 .BR "#include <sys/stat.h>" "        /* For mode constants */"
 .B #include <semaphore.h>
 .P
-.BI "sem_t *sem_open(const char *" name ", int " oflag );
-.BI "sem_t *sem_open(const char *" name ", int " oflag ,
-.BI "                mode_t " mode ", unsigned int " value );
+.BI "sem_t *sem_open(const char *" name ", int " oflag ", ..."
+.BI "                \fR/*\fP mode_t " mode ", unsigned int " value " \fR*/\fP );"
 .fi
 .SH DESCRIPTION
 .BR sem_open ()