xref: /PHP-8.3/ext/sysvsem/sysvsem.stub.php (revision 570d9b63)
1<?php
2
3/** @generate-class-entries */
4
5/**
6 * @strict-properties
7 * @not-serializable
8 */
9final class SysvSemaphore
10{
11}
12
13function sem_get(int $key, int $max_acquire = 1, int $permissions = 0666, bool $auto_release = true): SysvSemaphore|false {}
14
15function sem_acquire(SysvSemaphore $semaphore, bool $non_blocking = false): bool {}
16
17function sem_release(SysvSemaphore $semaphore): bool {}
18
19function sem_remove(SysvSemaphore $semaphore): bool {}
20