/usr/lib/s9fes/help/sys_getpwnam is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | S9 EXT (sys:getpwnam string) ==> alist | #f
(sys:getpwuid integer) ==> alist | #f
Return the password record for the user name STRING or the user
ID INTEGER. The returned association list has the following members:
((name . string) ; user name
(uid . integer) ; user ID
(gid . integer) ; group ID
(gecos . string) ; real name
(home . string) ; home directory
(shell . string)) ; default shell
When an invalid user name or UID is passed to these procedures, #F
is returned.
(sys:getpwnam "nmh") ==> ((name . "nmh")
(uid . 1001)
(gid . 1001)
(gecos . "Nils M Holm")
(home . "/u/home/nmh")
(shell . "/bin/ksh"))
|