mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 06:54:26 +03:00
added os.getpid()
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user