PHP » PYTHON |
login |
register |
about
|
PYTHON posix_getgrnam
is this article helpful?
|
Python replacement for PHP's posix_getgrnam
[
edit
| history
]
import grp grp.getgrnam(name) posix_getgrnam(PHP 4, PHP 5) posix_getgrnam — Return info about a group by name Description
array posix_getgrnam
( string $name
)
Gets information about a group provided its name. Parameters
Return ValuesThe array elements returned are:
Changelog
Examples
Example #1 Example use of posix_getgrnam()
<?phpThe above example will output something similar to:
Array
(
[name] => toons
[passwd] => x
[members] => Array
(
[0] => tom
[1] => jerry
)
[gid] => 42
)
See Also
|
more
Recently updated
more
Most requested
|