minix/include/minix
Xiaoguang Sun 64f10ee644 Implement getrusage
Implement getrusage.
These fields of struct rusage are not supported and always set to zero at this time
long ru_nswap;           /* swaps */
long ru_inblock;         /* block input operations */
long ru_oublock;         /* block output operations */
long ru_msgsnd;          /* messages sent */
long ru_msgrcv;          /* messages received */
long ru_nvcsw;           /* voluntary context switches */
long ru_nivcsw;          /* involuntary context switches */

test75.c is the unit test for this new function

Change-Id: I3f1eb69de1fce90d087d76773b09021fc6106539
2013-07-01 23:00:47 +02:00
..
acpi.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
audio_fw.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
bdev.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
bitmap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
blockdriver.h Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
blockdriver_mt.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
btrace.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
callnr.h Implement getrusage 2013-07-01 23:00:47 +02:00
chardriver.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
clkconf.h clkconf: move clkconf from libgpio to it's own lib 2013-06-18 09:09:23 +02:00
com.h Implement getrusage 2013-07-01 23:00:47 +02:00
compiler.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
config.h cleanup:misc documentation fix. 2013-04-12 20:52:58 +02:00
const.h kernel, ramdisk: some boot unification 2013-03-07 14:29:27 +00:00
cpufeature.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
crtso.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
debug.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
devio.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
devman.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
dirent.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
dmap.h fb: introduce framebuffer support to Minix 2013-02-21 10:29:08 +00:00
driver.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
drivers.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
drvlib.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ds.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
endpoint.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
fb.h fb: introduce framebuffer support to Minix 2013-02-21 10:29:08 +00:00
fslib.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
gcov.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
gpio.h GPIO:further development 2013-02-06 16:07:43 +01:00
hash.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
hgfs.h Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
input.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
ioctl.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
ipc.h inline sendnb should not call send vector 2013-06-12 07:04:53 +00:00
ipcconst.h machine/ipcconst.h for arch-specific constants 2012-08-27 19:46:41 -04:00
keymap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
libminixfs.h libminixfs, mfs, ext2: may re-evaluate cache size 2013-04-26 13:57:08 +00:00
log.h GPIO:further development 2013-02-06 16:07:43 +01:00
Makefile clkconf: move clkconf from libgpio to it's own lib 2013-06-18 09:09:23 +02:00
minlib.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
mmio.h GPIO:further development 2013-02-06 16:07:43 +01:00
mount.h common upgrades 2013-01-14 11:36:25 +01:00
mthread.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
netdriver.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
netsock.h LWIP,NETSOCK - lwip uses asynchronous protocol 2012-03-02 15:44:48 +00:00
optset.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
padconf.h GPIO:further development 2013-02-06 16:07:43 +01:00
param.h impove memory accounting 2013-02-11 19:31:57 +01:00
partition.h Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
paths.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
portio.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
priv.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
procfs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
profile.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
queryparam.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
reboot.h Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
rs.h Switch to disable bin. exp. wait time in RS 2013-02-16 19:35:19 +01:00
safecopies.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
sched.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sef.h SEF: add sef_cancel() 2012-04-09 16:35:57 +02:00
sffs.h Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
sound.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
spin.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sys_config.h VM: slight pagedir mapping generalization 2013-02-10 21:50:34 +01:00
sysinfo.h Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
syslib.h Implement getrusage 2013-07-01 23:00:47 +02:00
sysutil.h panic: declare as printf-style-checked 2013-05-31 13:35:25 +00:00
termios.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
timers.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tty.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
type.h kernel, libsys: make it arm-target-independent 2013-06-17 09:55:36 +02:00
u64.h retire 64-bit conversion functions 2013-06-24 16:50:57 +02:00
usb.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
usb_ch9.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
vbox.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vboxfs.h Add libvboxfs: VirtualBox shared folders library 2012-04-09 19:25:18 +02:00
vboxif.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vboxtype.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vfsif.h VFS: Implement REQ_BPEEK. 2013-04-24 10:18:16 +00:00
virtio.h virtio: generic virtio library 2013-01-23 09:03:03 +00:00
vm.h remove vm_yield_block_get_block leftovers. 2013-06-01 20:51:31 +08:00
vtreefs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00