zoslib
z/OS C/C++ Library
Loading...
Searching...
No Matches
eventfd.h
Go to the documentation of this file.
1
2// Licensed Materials - Property of IBM
3// ZOSLIB
4// (C) Copyright IBM Corp. 2020. All Rights Reserved.
5// US Government Users Restricted Rights - Use, duplication
6// or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
8
9#ifndef ZOS_SYS_EVENTFD_H_
10#define ZOS_SYS_EVENTFD_H_
11
12#define __XPLAT 1
13#include "zos-macros.h"
14
15#if (__EDC_TARGET < 0x42050000) && defined(ZOSLIB_ENABLE_V2R5_FEATURES)
16#define EFD_SEMAPHORE 0x00002000
17#define EFD_CLOEXEC 0x00001000
18#define EFD_NONBLOCK 0x00000004
19
20#if defined(__cplusplus)
21extern "C" {
22#endif
23
30__Z_EXPORT extern int (*eventfd)(unsigned int initval, int flags);
31
32#if defined(__cplusplus)
33}
34#endif
35
36#endif
37
38#endif
#define __Z_EXPORT
Definition zos-macros.h:13