OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [sysdeps/] [waitpid.c] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#include <syscall.h>
2
#include <sys/types.h>
3
#include <sys/wait.h>
4
#include <sys/resource.h>
5
 
6
static inline
7
_syscall4(__pid_t,wait4,__pid_t,pid,__WAIT_STATUS,status,int,options,struct rusage *,ru)
8
 
9
__pid_t
10
waitpid(__pid_t pid, int *wait_stat, int options)
11
{
12
        return wait4(pid, (__WAIT_STATUS) wait_stat, options, NULL);
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.