diff options
Diffstat (limited to '')
-rw-r--r-- | libc-bottom-half/headers/public/sys/ioctl.h | 10 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/resource.h | 10 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/select.h | 18 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/socket.h | 6 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/stat.h | 10 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/time.h | 6 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/times.h | 6 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/types.h | 16 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/uio.h | 6 | ||||
-rw-r--r-- | libc-bottom-half/headers/public/sys/un.h | 6 |
10 files changed, 94 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/public/sys/ioctl.h b/libc-bottom-half/headers/public/sys/ioctl.h new file mode 100644 index 0000000..085b314 --- /dev/null +++ b/libc-bottom-half/headers/public/sys/ioctl.h @@ -0,0 +1,10 @@ +#ifndef __wasilibc_sys_ioctl_h +#define __wasilibc_sys_ioctl_h + +/* + * Include the real implementation, which is factored into a separate file so + * that it can be reused by other libc ioctl implementations. + */ +#include <__header_sys_ioctl.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/resource.h b/libc-bottom-half/headers/public/sys/resource.h new file mode 100644 index 0000000..5896861 --- /dev/null +++ b/libc-bottom-half/headers/public/sys/resource.h @@ -0,0 +1,10 @@ +#ifndef __wasilibc_sys_resource_h +#define __wasilibc_sys_resource_h + +/* + * Include the real implementation, which is factored into a separate file so + * that it can be reused by other libc resource implementations. + */ +#include <__header_sys_resource.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/select.h b/libc-bottom-half/headers/public/sys/select.h new file mode 100644 index 0000000..7570f14 --- /dev/null +++ b/libc-bottom-half/headers/public/sys/select.h @@ -0,0 +1,18 @@ +#ifndef __wasilibc_sys_select_h +#define __wasilibc_sys_select_h + +#include <__fd_set.h> +#include <__struct_timespec.h> +#include <__struct_timeval.h> + +#ifdef __cplusplus +extern "C" { +#endif + +int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/libc-bottom-half/headers/public/sys/socket.h b/libc-bottom-half/headers/public/sys/socket.h new file mode 100644 index 0000000..874f605 --- /dev/null +++ b/libc-bottom-half/headers/public/sys/socket.h @@ -0,0 +1,6 @@ +#ifndef __wasilibc_sys_socket_h +#define __wasilibc_sys_socket_h + +#include <__header_sys_socket.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/stat.h b/libc-bottom-half/headers/public/sys/stat.h new file mode 100644 index 0000000..586b41f --- /dev/null +++ b/libc-bottom-half/headers/public/sys/stat.h @@ -0,0 +1,10 @@ +#ifndef __wasilibc_sys_stat_h +#define __wasilibc_sys_stat_h + +/* + * Include the real implementation, which is factored into a separate file so + * that it can be reused by other libc stat implementations. + */ +#include <__header_sys_stat.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/time.h b/libc-bottom-half/headers/public/sys/time.h new file mode 100644 index 0000000..3ee0b3b --- /dev/null +++ b/libc-bottom-half/headers/public/sys/time.h @@ -0,0 +1,6 @@ +#ifndef __wasilibc_sys_time_h +#define __wasilibc_sys_time_h + +#include <__struct_timeval.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/times.h b/libc-bottom-half/headers/public/sys/times.h new file mode 100644 index 0000000..986bc0d --- /dev/null +++ b/libc-bottom-half/headers/public/sys/times.h @@ -0,0 +1,6 @@ +#ifndef __wasilibc_sys_times_h +#define __wasilibc_sys_times_h + +#include <__struct_tms.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/types.h b/libc-bottom-half/headers/public/sys/types.h new file mode 100644 index 0000000..3bce96f --- /dev/null +++ b/libc-bottom-half/headers/public/sys/types.h @@ -0,0 +1,16 @@ +#ifndef __wasilibc_sys_types_h +#define __wasilibc_sys_types_h + +#define __need_size_t +#include <stddef.h> + +#include <__typedef_clock_t.h> +#include <__typedef_time_t.h> +#include <__typedef_blksize_t.h> +#include <__typedef_off_t.h> +#include <__typedef_ssize_t.h> +#include <__typedef_suseconds_t.h> +#include <__typedef_nlink_t.h> +#include <__typedef_clockid_t.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/uio.h b/libc-bottom-half/headers/public/sys/uio.h new file mode 100644 index 0000000..bb502a1 --- /dev/null +++ b/libc-bottom-half/headers/public/sys/uio.h @@ -0,0 +1,6 @@ +#ifndef __wasilibc_sys_uio_h +#define __wasilibc_sys_uio_h + +#include <__struct_iovec.h> + +#endif diff --git a/libc-bottom-half/headers/public/sys/un.h b/libc-bottom-half/headers/public/sys/un.h new file mode 100644 index 0000000..997e613 --- /dev/null +++ b/libc-bottom-half/headers/public/sys/un.h @@ -0,0 +1,6 @@ +#ifndef __wasilibc_sys_un_h +#define __wasilibc_sys_un_h + +#include <__struct_sockaddr_un.h> + +#endif |