Handbook
Glossary
args ( pid -- args )
Vocabulary
tools
.
ps
.
macos
.
private
Inputs
pid
an
object
Outputs
args
an
object
Definition
USING:
alien.c-types
alien.data
arrays
byte-arrays
kernel
math
sequences
strings
unix.sysctl
;
IN:
tools.ps.macos.private
:
args
( pid -- args )
[
1 49
]
dip
0
4array
max-arguments
sysctl-query
4
cut-slice
swap
>byte-array
uint
deref
[
zero?
]
head-split-skip
[
>string
]
map
;