summaryrefslogtreecommitdiff
path: root/ext/sysvsem/sysvsem.stub.php
blob: 8da71b09fb781be22fe00819328b0acc8fd8e81a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

/** @generate-function-entries */

final class SysvSemaphore
{
}

function sem_get(int $key, int $max_acquire = 1, int $permissions = 0666, bool $auto_release = true): SysvSemaphore|false {}

function sem_acquire(SysvSemaphore $semaphore, bool $non_blocking = false): bool {}

function sem_release(SysvSemaphore $semaphore): bool {}

function sem_remove(SysvSemaphore $semaphore): bool {}