added os.getpid()

This commit is contained in:
Fabrice Bellard
2024-01-11 15:25:28 +01:00
parent 10fc744ae4
commit 195c42b9fb
2 changed files with 11 additions and 0 deletions

View File

@@ -757,6 +757,9 @@ object containing optional parameters:
@end table
@item getpid()
Return the current process ID.
@item waitpid(pid, options)
@code{waitpid} Unix system call. Return the array @code{[ret,
status]}. @code{ret} contains @code{-errno} in case of error.