mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
ce588dd56b
- pledge("chown") now supported - pledge("stdio") now allows killing self - Write tests for pselect() and ppoll()
17 lines
721 B
C
17 lines
721 B
C
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_
|
|
#define COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_
|
|
#include "libc/calls/struct/sigset.h"
|
|
#include "libc/calls/struct/timespec.h"
|
|
#include "libc/sock/struct/pollfd.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int32_t sys_poll(struct pollfd *, uint64_t, signed) hidden;
|
|
int sys_ppoll(struct pollfd *, size_t, const struct timespec *,
|
|
const sigset_t *, size_t);
|
|
int sys_poll_metal(struct pollfd *, size_t, unsigned);
|
|
int sys_poll_nt(struct pollfd *, uint64_t, uint64_t *, const sigset_t *) hidden;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_ */
|