diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-07 17:28:52 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-07 18:24:51 -0500 |
commit | f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch) | |
tree | 93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/posix/include/sys/poll.h | |
parent | bd5969fc876a10b18613302db7087ef3c40f18e1 (diff) |
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/posix/include/sys/poll.h')
-rw-r--r-- | lib/mlibc/options/posix/include/sys/poll.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/mlibc/options/posix/include/sys/poll.h b/lib/mlibc/options/posix/include/sys/poll.h deleted file mode 100644 index 3edecab..0000000 --- a/lib/mlibc/options/posix/include/sys/poll.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef _SYS_POLL_H -#define _SYS_POLL_H - -#include <bits/types.h> -#include <bits/sigset_t.h> -#include <bits/ansi/timespec.h> -#include <abi-bits/poll.h> -#include <abi-bits/signal.h> -#include <mlibc-config.h> - -typedef __mlibc_size nfds_t; - -#ifdef __cplusplus -extern "C" { -#endif - -struct pollfd { - int fd; - short events; - short revents; -}; - -#ifndef __MLIBC_ABI_ONLY - -int poll(struct pollfd *, nfds_t, int); - -#if __MLIBC_LINUX_OPTION -int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts, const sigset_t *sigmask); -#endif // __MLIBC_LINUX_OPTION - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _SYS_POLL_H |