PHP » PYTHON |
login |
register |
about
|
PYTHON posix_getsid
is this article helpful?
|
Python replacement for PHP's posix_getsid
[
edit
| history
]
import os os.getsid(pid) posix_getsid(PHP 4, PHP 5) posix_getsid — Get the current sid of the process Description
int posix_getsid
( int $pid
)
Return the session id of the process pid . The session id of a process is the process group id of the session leader. Parameters
Return ValuesReturns the identifier, as an integer. Examples
Example #1 Example use of posix_getsid()
<?php
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|