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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [wait.c] - Blame information for rev 258

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

Line No. Rev Author Line
1 207 jeremybenn
/* libc/sys/linux/wait.c - Wait function wrappers */
2
 
3
/* Written 2000 by Werner Almesberger */
4
 
5
 
6
#include <sys/wait.h>
7
#include <machine/syscall.h>
8
 
9
 
10
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
11
_syscall4(pid_t,wait4,pid_t,pid,int *,status,int,options,struct rusage *,rusage)
12
 
13
 
14
pid_t __libc_wait3(int *status,int options,struct rusage *rusage)
15
{
16
    return __libc_wait4(-1,status,options,rusage);
17
}
18
weak_alias(__libc_wait3,wait3)
19
 
20
pid_t __libc_wait(int *status)
21
{
22
    return __libc_waitpid(-1,status,0);
23
}
24
 
25
weak_alias(__libc_waitpid,__libc___waitpid);
26
weak_alias(__libc_wait,__wait);
27
weak_alias(__libc_wait,wait);

powered by: WebSVN 2.1.0

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