File: poll.h

package info (click to toggle)
rpki-client 9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,932 kB
  • sloc: ansic: 25,775; sh: 11,620; makefile: 238
file content (23 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Public domain
 * poll.h compatibility shim
 */

#include_next <poll.h>

#ifndef LIBCOMPAT_POLL_H
#define LIBCOMPAT_POLL_H

#ifndef INFTIM
#define INFTIM          (-1)
#endif

#ifndef HAVE_PPOLL
#include <signal.h>
struct timespec;

int	ppoll(struct pollfd *, nfds_t, const struct timespec *,
	    const sigset_t *);
#endif

#endif