summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/semctl.2
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-09-12 01:27:34 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-09-12 01:27:34 +0000
commit4faed0fd1dc0eff361ce9f718db938dd6d408198 (patch)
tree0d78130a4f47321b5cc4f8d1099dac5f29e2513b /lib/libc/sys/semctl.2
parent918e3ab49af89b663522d5ef2f6ca6710a51f835 (diff)
downloadFreeBSD-src-4faed0fd1dc0eff361ce9f718db938dd6d408198.zip
FreeBSD-src-4faed0fd1dc0eff361ce9f718db938dd6d408198.tar.gz
Use ellipsis in synopsis.
Requested by: bde
Diffstat (limited to 'lib/libc/sys/semctl.2')
-rw-r--r--lib/libc/sys/semctl.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2
index 5855a7d..862f761 100644
--- a/lib/libc/sys/semctl.2
+++ b/lib/libc/sys/semctl.2
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: semctl.2,v 1.6 1997/02/22 15:04:18 peter Exp $
+.\" $Id: semctl.2,v 1.7 1997/03/18 23:57:17 bde Exp $
.\"
.Dd September 12, 1995
.Dt SEMCTL 2
@@ -36,13 +36,17 @@
.Fd #include <sys/ipc.h>
.Fd #include <sys/sem.h>
.Ft int
-.Fn semctl "int semid" "int semnum" "int cmd" "union semun arg"
+.Fn semctl "int semid" "int semnum" "int cmd" ...
.Sh DESCRIPTION
.Fn Semctl
performs the operation indicated by
.Fa cmd
on the semaphore set indicated by
.Fa semid .
+A fourth argument, a
+.Fa "union semun arg" ,
+is required for certain values of
+.Fa cmd .
For the commands that use the
.Fa arg
parameter,
OpenPOWER on IntegriCloud