Adding types files. Fixing previous commits with process and disk

procudures.

These are required by previous commits.
master
Ronald1985 2 years ago
parent 5674011460
commit ba1b1b8335

@ -19,3 +19,18 @@ Sys_statvfs :: struct {
__f_spare: [6]c.int
}
Partition :: struct {
major: int,
minor: int,
blocks: f64,
name: string
}
Process :: struct {
name: string,
command: string,
pid: int,
cpu_usage: int,
memory_usage: int,
}

Loading…
Cancel
Save