GoLang pcntl_get_last_error

request it (249)
GoLang replacement for PHP's pcntl_get_last_error [edit | history]

Do you know a GoLang replacement for PHP's pcntl_get_last_error? Write it!

PHP pcntl_get_last_error

PHP original manual for pcntl_get_last_error [ show | php.net ]


(PHP 5 >= 5.3.4, PHP 7)

pcntl_get_last_errorRetrieve the error number set by the last pcntl function which failed


int pcntl_get_last_error ( void )


This function is currently not documented; only its argument list is available.


This function has no parameters.

Return Values

Returns error code.

See Also

  • pcntl_strerror() - Retrieve the system error message associated with the given errno