---
name: "semread"
section: "1"
platform: "linux"
package: "selinux"
version: "2002031409-4"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/semread"
---

# semread(1)

reads the state of a semaphore set

## NAME

semread - reads the state of a semaphore set

## SYNOPSIS

**semread** *id* *sem\_nums*

## DESCRIPTION

**semread** finds the value of the semaphores specified by *sem\_nums* in the semaphore set specified by the identifier *id .* This exercises a number of options of the *semctl (2)* system call.  In particular operation of the call may be checked from various security contexts utilizing semaphore sets at various contexts.

## SEE ALSO

[**semget**(1)](/semget/1.md), [**semsid**(1)](/semsid/1.md), [**semwrite**(1)](/semwrite/1.md), [**semperm**(1)](/semperm/1.md), [**semctl**(2)](/semctl/2.md).
