Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/ppoll.c
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 361 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 361 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | /* |
2 | * ppoll.c |
3 | */ |
4 | |
5 | #include <sys/poll.h> |
6 | #include <sys/syscall.h> |
7 | |
8 | #ifdef __NR_ppoll |
9 | |
10 | __extern int __ppoll(struct pollfd *, nfds_t, struct timespec *, |
11 | const sigset_t *, size_t); |
12 | |
13 | int ppoll(struct pollfd *ufds, nfds_t nfds, struct timespec *timeout, |
14 | const sigset_t * sigmask) |
15 | { |
16 | return __ppoll(ufds, nfds, timeout, sigmask, sizeof *sigmask); |
17 | } |
18 | |
19 | #endif |