From ac7901ba5b4bc591fd038e5416fa5f924cb21efe Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 1 Aug 2002 09:39:37 +0000 Subject: [PATCH] This version formats correctly. --- semex.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/semex.xml b/semex.xml index ac0c564..d053563 100644 --- a/semex.xml +++ b/semex.xml @@ -23,16 +23,16 @@ DESCRIPTION This is an interactive exerciser for the -semctl/refentrytitle>2, -semget/refentrytitle>2 +semctl2, +semget2 and -semop/refentrytitle>2 +semop2 system calls of System V UNIX. You can use it to experiment with the semaphore features in order to understand them better. It includes on-line help. Calls that might cause semex to block -(semop/refentrytitle>2 +(semop2 with negative operation values) are handed to a forked copy of semex. Semex's children emit reports just before they block and when they unblock, to enable the user to track what's going on. @@ -52,10 +52,10 @@ to it. c(reate) key nsems -[ce] perms -- create semaphore group This calls -semget/refentrytitle>2. The +semget2. The `key' argument should be a long, the `nsems' argument an int. The third (flags) argument of the -semget/refentrytitle>2 +semget2 call is created from the third and fourth arguments of this command; flags `c' and `e' stand for IPC_CREAT and IPC_EXCL respectively and `perms' should be at least three digits of octal permission @@ -80,7 +80,7 @@ argument is omitted, the current value is simply printed out. d(o) op -[un] -- do a semaphore operation This command does a -semop/refentrytitle>2 +semop2 call. The first argument of the call will be the currently selected semaphore id. The third argument (number of operations) will be 1. The (struct sembuf *) second argument will point to a single operation @@ -121,7 +121,7 @@ semid is omitted it defaults to the currently selected semaphore id. s(et) semval -- set the value of a semaphore This command does a -semop/refentrytitle>2 +semop2 call using the SETVAL command to set the value of the currently selected semaphore. The first argument of the call will be the currently selected semaphore id. The second argument of the call will @@ -140,7 +140,7 @@ gid should be decimal integers and mode at least three digits of octal. r(emove) semid -- remove a semaphore group Do a -semctl/refentrytitle>2 +semctl2 to remove a semaphore group. If the semid argument is omitted, the currently selected semaphore group will be removed. @@ -168,10 +168,10 @@ currently selected semaphore (newline is a synonym for the `v' command). There is no way for semex to specify more than one semaphore op at once in -semop/refentrytitle>2. +semop2. There is no support for exercising the GETALL or SETALL modes of -semctl/refentrytitle>2. +semctl2. -- 2.43.0