blob: a41f6ad04b4e217a62d20e119c6bc5f9b15e2e42 [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Linux specific declarations of macros from sys/eventfd.h.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_MACROS_LINUX_SYS_EVENTFD_MACROS_H
#define LLVM_LIBC_MACROS_LINUX_SYS_EVENTFD_MACROS_H
#include "fcntl-macros.h"
#define EFD_SEMAPHORE (1 << 0)
#define EFD_CLOEXEC O_CLOEXEC
#define EFD_NONBLOCK O_NONBLOCK
#endif // LLVM_LIBC_MACROS_LINUX_SYS_EVENTFD_MACROS_H