aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/semctl.2
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1998-09-12 01:27:34 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1998-09-12 01:27:34 +0000
commit05e13b1b5df343dcbe7f6b6864a32e75834e3f63 (patch)
treeee099cbec8d8ef483f7866350a3c2e90bba0c85c /lib/libc/sys/semctl.2
parent9afcea2f4a3233f8568ed80945b25dfe1719d2d4 (diff)
downloadsrc-05e13b1b5df343dcbe7f6b6864a32e75834e3f63.tar.gz
src-05e13b1b5df343dcbe7f6b6864a32e75834e3f63.zip
Use ellipsis in synopsis.
Requested by: bde
Notes
Notes: svn path=/head/; revision=39086
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 5855a7dde0e0..862f761172b8 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,