← All docs

pcntl_errno()

Returns the errno recorded by the most recent failing PCNTL operation.

pcntl_errno()

function pcntl_errno(): int

Returns the errno recorded by the most recent failing PCNTL operation.

Parameters: none.

Returns: int

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how pcntl_errno is implemented in the compiler, see the internals page.