basic.%semget

C Function/BASIC Program, Releases: AP/Unix

Creates a semaphore set.

Syntax

value=%semget(key, nsems, semflg)

Description

creates a semaphore set.
Valid values for 'key' and 'semflg' are defined in 'sem.h' and 'ipc.h'. See the Unix Programmer's guide.

See Also

Command Name Type Description
basic.cfunction Definition Declare a list of C functions.
basic.%semop C Function Perform semaphore operation.
basic.%semctl C Function Performs semaphore control operations.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.