Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
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
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin remove utimes() workarounds 2013-04-12 18:55:40 +00:00
commands retire 64-bit conversion functions 2013-06-24 16:50:57 +02:00
common Downgrading to netbsd zlib version 2013-04-09 16:43:13 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib Implement getrusage 2013-07-01 23:00:47 +02:00
docs build:refactor arm_sdimage.sh as to no longer require root. 2013-04-23 11:24:12 +02:00
drivers retire 64-bit conversion functions 2013-06-24 16:50:57 +02:00
etc arm:increase the mmc driver process priority. 2013-06-24 09:12:10 +02:00
external Gold linker support for entire source tree 2013-06-11 22:51:02 +02:00
gnu/dist Toolchain upgrade and portability improvements. 2012-11-15 16:07:29 +01:00
include Implement getrusage 2013-07-01 23:00:47 +02:00
kernel Implement getrusage 2013-07-01 23:00:47 +02:00
lib Implement getrusage 2013-07-01 23:00:47 +02:00
libexec re-import makewhatis 2013-06-25 09:51:45 +00:00
man Importing libexec/fingerd 2013-06-02 08:14:05 -04:00
releasetools include: Import dev/i2c/i2c_io.h 2013-06-27 14:20:12 -04:00
sbin ext2: annotate cache blocks with inode metadata 2013-04-26 15:39:07 +00:00
servers Implement getrusage 2013-07-01 23:00:47 +02:00
share LLVM bitcode for almost the whole source tree 2013-06-18 10:49:53 +02:00
sys Implement getrusage 2013-07-01 23:00:47 +02:00
test Implement getrusage 2013-07-01 23:00:47 +02:00
tools mkfs.mfs: various programs 2013-05-13 11:18:15 +02:00
usr.bin allow ldd mmap fallback 2013-06-12 07:05:11 +00:00
usr.sbin fix some comment typo's 2013-05-26 14:12:54 +00:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile some etc fixes 2013-04-04 12:50:12 +00:00