Handbook
Glossary
passwd
Vocabulary
unix
.
ffi
Definition
USING:
alien.c-types
classes.struct
unix.types
;
IN:
unix.ffi
STRUCT:
passwd
{
pw_name
c-string
}
{
pw_passwd
c-string
}
{
pw_uid
uid_t
initial:
0
}
{
pw_gid
gid_t
initial:
0
}
{
pw_change
time_t
initial:
0
}
{
pw_class
c-string
}
{
pw_gecos
c-string
}
{
pw_dir
c-string
}
{
pw_shell
c-string
}
{
pw_expire
time_t
initial:
0
}
{
pw_fields
int
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
unix.ffi
;
M:
passwd
clone
clone-underlying
\
passwd
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
unix.ffi
;
M:
passwd
struct-slot-values
{
[
pw_name>>
]
[
pw_passwd>>
]
[
pw_uid>>
]
[
pw_gid>>
]
[
pw_change>>
]
[
pw_class>>
]
[
pw_gecos>>
]
[
pw_dir>>
]
[
pw_shell>>
]
[
pw_expire>>
]
[
pw_fields>>
]
}
cleave>array
;
inline