diff options
| -rw-r--r-- | lib/libc/sys/semctl.2 | 8 |
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, |
