zoslib
z/OS C/C++ Library
Loading...
Searching...
No Matches
stat.h
Go to the documentation of this file.
1
8
9#ifndef ZOS_SYS_STAT_H
10#define ZOS_SYS_STAT_H
11
12#include "zos-macros.h"
13
14typedef int mode_t;
15
16#if defined(__cplusplus)
17extern "C" {
18#endif
22__Z_EXPORT extern int __mkfifo_ascii(const char *pathname, mode_t mode);
23
24#if defined(__cplusplus)
25}
26#endif
27
28#if defined(ZOSLIB_OVERRIDE_CLIB)
29
30#undef mkfifo
31#define mkfifo __mkfifo_replaced
32#include_next <sys/stat.h>
33#undef mkfifo
34
35#if defined(__cplusplus)
36extern "C" {
37#endif
38
39__Z_EXPORT extern int mkfifo(const char *pathname, mode_t mode) __asm("__mkfifo_ascii");
40
41#if defined(__cplusplus)
42}
43#endif
44
45#else // #if !(defined(ZOSLIB_OVERRIDE_CLIB)
46
47#include_next <sys/stat.h>
48
49#endif
50
51#ifdef S_TYPEISMQ
52#undef S_TYPEISMQ
53#undef S_TYPEISSEM
54#undef S_TYPEISSHM
55#define S_TYPEISMQ(__x) (0) /* Test for a message queue */
56#define S_TYPEISSEM(__x) (0) /* Test for a semaphore */
57#define S_TYPEISSHM(__x) (0) /* Test for a shared memory */
58#endif
59
60#endif
int mode_t
Definition stat.h:14
__Z_EXPORT int __mkfifo_ascii(const char *pathname, mode_t mode)
Definition zos-io.cc:895
#define __Z_EXPORT
Definition zos-macros.h:13