mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 19:56:38 +00:00

The epoll_wait functions need the rest of the epoll functions (create, ctl) to be available to actually test them, as well as pipe to create a usable file descriptor. This patch adds epoll_create, epoll_create1, epoll_ctl, and pipe. These have tests, and the tests for epoll_wait, epoll_pwait, and epoll_pwait2 (currently disabled) are updated to use these newly available functions.
23 lines
640 B
C
23 lines
640 B
C
//===-- Definition of macros from signal.h --------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_HDR_SIGNAL_MACROS_H
|
|
#define LLVM_LIBC_HDR_SIGNAL_MACROS_H
|
|
|
|
#ifdef LIBC_FULL_BUILD
|
|
|
|
#include "include/llvm-libc-macros/signal-macros.h"
|
|
|
|
#else // Overlay mode
|
|
|
|
#include <signal.h>
|
|
|
|
#endif // LLVM_LIBC_FULL_BUILD
|
|
|
|
#endif // LLVM_LIBC_HDR_SIGNAL_MACROS_H
|