minix/lib/libc/sys
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
..
__quotactl.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
_brk.c
_exit.2
_fork.c
_getcontext.c
_lwp_create.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
_lwp_ctl.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
_lwp_detach.2
_lwp_exit.2
_lwp_getname.2
_lwp_getprivate.2
_lwp_kill.2
_lwp_park.2
_lwp_self.2
_lwp_setname.2
_lwp_suspend.2
_lwp_unpark_all.2
_lwp_unpark.2
_lwp_wait.2
_lwp_wakeup.2
_pipe.c
_sbrk.c
accept.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
access.2
acct.2
adjtime.2
adjtime.c VFS: add ability to open files O_CLOEXEC 2013-02-28 10:08:53 +00:00
bind.2
brk.2
chdir.2
chflags.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
chmod.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
chown.2
chroot.2
clock_settime.2
clock_settime.c VFS: add ability to open files O_CLOEXEC 2013-02-28 10:08:53 +00:00
clone.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
close.2
connect.2
dup.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
execve.2
extattr_get_file.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
fcntl.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
fdatasync.2
fhopen.2
flock.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
fork.2
fsync.2
ftruncate.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getcontext.2
getdents.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getfh.2
getgid.2
getgroups.2
getitimer.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getlogin.2
getpeername.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getpgrp.2
getpid.2
getpriority.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getrlimit.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getrusage.2
getsid.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getsockname.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
getsockopt.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
gettimeofday.2
getuid.2
getvfsstat.2
intro.2
ioctl.2
issetugid.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
kill.2
kqueue.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
ktrace.2
lfs_bmapv.2
lfs_markv.2
lfs_segclean.2
lfs_segwait.2
link.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
Lint___clone.c
Lint___sigaction14.c
Lint___syscall.c
Lint___vfork14.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
Lint_brk.c Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
Lint_clone.c
Lint_exect.c
Lint_getcontext.c
Lint_pipe.c
Lint_ptrace.c
Lint_sbrk.c
Lint_syscall.c
listen.2
lseek.2
lseek.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
madvise.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
Makefile.inc Implement getrusage 2013-07-01 23:00:47 +02:00
makelintstub Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mincore.2
minherit.2
mkdir.2
mkfifo.2
mknod.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mlock.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mlockall.2
mmap.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mmap.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
modctl.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mount.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mprotect.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
mremap.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
msgctl.2
msgget.2
msgrcv.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
msgsnd.2
msync.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
munmap.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
nanosleep.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
nfssvc.2
ntp_adjtime.2
ntp_adjtime.c VFS: add ability to open files O_CLOEXEC 2013-02-28 10:08:53 +00:00
open.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
pathconf.2
pipe.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
pmc_control.2
poll.2
posix_fadvise.2
posix_fadvise.c
posix_madvise.c
pread.c
preadv.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
profil.2
ptrace.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
pwrite.c
pwritev.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
rasctl.2
read.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
readlink.2
reboot.2
recv.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
rename.2
revoke.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
rmdir.2
sa_enable.2
sa_register.2
sa_setconcurrency.2
sa_stacks.2
sa_yield.2
sched.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
select.2
semctl.2
semctl.c
semget.2
semop.2
send.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
setgroups.2
setpgid.2
setregid.2
setreuid.2
setsid.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
settimeofday.c VFS: add ability to open files O_CLOEXEC 2013-02-28 10:08:53 +00:00
setuid.2
shmat.2
shmctl.2
shmget.2
shutdown.2
sigaction.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
sigaltstack.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
sigpending.2
sigprocmask.2
sigqueue.2
sigqueue.c
sigstack.2
sigsuspend.2
sigtimedwait.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
sigtimedwait.c
sigwait.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
sigwaitinfo.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
socket.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
socketpair.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
stat.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
statvfs.2
statvfs.c
swapctl.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
swapon.3
swapon.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
symlink.2
sync.2
sysarch.2
syscall.2
timer_create.2
timer_delete.2
timer_settime.2
truncate.2
truncate.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
umask.2
undelete.2
unlink.2
utimes.2 Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
utrace.2
uuidgen.2
vfork.2
wait.2
write.2