Handbook
Glossary
extern_proc
Vocabulary
tools
.
ps
.
macos
.
private
Definition
USING:
alien.c-types
classes.struct
unix.time
unix.types
;
IN:
tools.ps.macos.private
STRUCT:
extern_proc
{
__p_starttime
timeval
initial:
S{
timeval
{
sec 0
}
{
usec 0
}
}
}
{
p_vmspace void*
}
{
p_sigacts void*
}
{
p_flag
int
initial:
0
}
{
p_stat
char
initial:
0
}
{
p_pid
pid_t
initial:
0
}
{
p_oppid
pid_t
initial:
0
}
{
p_dupfd
int
initial:
0
}
{
user_stack
caddr_t
}
{
exit_thread void*
}
{
p_debugger
int
initial:
0
}
{
sigwait
boolean_t
initial:
0
}
{
p_estcpu
uint
initial:
0
}
{
p_cpticks
int
initial:
0
}
{
p_pctcpu
fixpt_t
initial:
0
}
{
p_wchan void*
}
{
p_wmesg void*
}
{
p_swtime
uint
initial:
0
}
{
p_slptime
uint
initial:
0
}
{
p_realtimer
itimerval
initial:
S{
itimerval
{
it_interval
S{
timeval
{
sec 0
}
{
usec 0
}
}
}
{
it_value
S{
timeval
{
sec 0
}
{
usec 0
}
}
}
}
}
{
p_rtime
timeval
initial:
S{
timeval
{
sec 0
}
{
usec 0
}
}
}
{
p_uticks
u_quad_t
initial:
0
}
{
p_sticks
u_quad_t
initial:
0
}
{
p_iticks
u_quad_t
initial:
0
}
{
p_traceflag
int
initial:
0
}
{
p_tracep void*
}
{
p_siglist
int
initial:
0
}
{
p_textvp void*
}
{
p_holdcnt
int
initial:
0
}
{
p_sigmask
sigset_t
initial:
0
}
{
p_sigignore
sigset_t
initial:
0
}
{
p_sigcatch
sigset_t
initial:
0
}
{
p_priority
uchar
initial:
0
}
{
p_usrpri
uchar
initial:
0
}
{
p_nice
char
initial:
0
}
{
p_comm char[16]
}
{
p_pgrp void*
}
{
p_addr void*
}
{
p_xstat
ushort
initial:
0
}
{
p_acflag
ushort
initial:
0
}
{
p_ru void*
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
tools.ps.macos.private
;
M:
extern_proc
clone
clone-underlying
\
extern_proc
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
tools.ps.macos.private
;
M:
extern_proc
struct-slot-values
{
[
__p_starttime>>
]
[
p_vmspace>>
]
[
p_sigacts>>
]
[
p_flag>>
]
[
p_stat>>
]
[
p_pid>>
]
[
p_oppid>>
]
[
p_dupfd>>
]
[
user_stack>>
]
[
exit_thread>>
]
[
p_debugger>>
]
[
sigwait>>
]
[
p_estcpu>>
]
[
p_cpticks>>
]
[
p_pctcpu>>
]
[
p_wchan>>
]
[
p_wmesg>>
]
[
p_swtime>>
]
[
p_slptime>>
]
[
p_realtimer>>
]
[
p_rtime>>
]
[
p_uticks>>
]
[
p_sticks>>
]
[
p_iticks>>
]
[
p_traceflag>>
]
[
p_tracep>>
]
[
p_siglist>>
]
[
p_textvp>>
]
[
p_holdcnt>>
]
[
p_sigmask>>
]
[
p_sigignore>>
]
[
p_sigcatch>>
]
[
p_priority>>
]
[
p_usrpri>>
]
[
p_nice>>
]
[
p_comm>>
]
[
p_pgrp>>
]
[
p_addr>>
]
[
p_xstat>>
]
[
p_acflag>>
]
[
p_ru>>
]
}
cleave>array
;
inline