From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/options/posix/include/sys/select.h | 49 ---------------------------- 1 file changed, 49 deletions(-) delete mode 100644 lib/mlibc/options/posix/include/sys/select.h (limited to 'lib/mlibc/options/posix/include/sys/select.h') diff --git a/lib/mlibc/options/posix/include/sys/select.h b/lib/mlibc/options/posix/include/sys/select.h deleted file mode 100644 index 85a15b0..0000000 --- a/lib/mlibc/options/posix/include/sys/select.h +++ /dev/null @@ -1,49 +0,0 @@ - -#ifndef _SYS_SELECT_H -#define _SYS_SELECT_H - -#include - -#include -#include -#include -#include -#include - -#define FD_SETSIZE 1024 - -#ifdef __cplusplus -extern "C" { -#endif - -typedef long int __fd_mask; -#define __NFDBITS (8 * (int) sizeof (__fd_mask)) - -typedef __fd_mask fd_mask; -#define NFDBITS __NFDBITS - -#ifndef __MLIBC_ABI_ONLY - -void __FD_CLR(int fd, fd_set *); -int __FD_ISSET(int fd, fd_set *); -void __FD_SET(int fd, fd_set *); -void __FD_ZERO(fd_set *); - -#define FD_CLR(fd, set) __FD_CLR(fd, set) -#define FD_ISSET(fd, set) __FD_ISSET(fd, set) -#define FD_SET(fd, set) __FD_SET(fd, set) -#define FD_ZERO(set) __FD_ZERO(set) - -int select(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict, - struct timeval *__restrict); -int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, - const sigset_t *); - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _SYS_SELECT_H - -- cgit v1.2.3