zoslib
z/OS C/C++ Library
Loading...
Searching...
No Matches
utmpx.h
Go to the documentation of this file.
1
2// Licensed Materials - Property of IBM
3// ZOSLIB
4// (C) Copyright IBM Corp. 2021. 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_UTMPX_H_
10#define ZOS_UTMPX_H_
11
12#define __XPLAT 1
13#include "zos-macros.h"
14
15#if defined(__cplusplus)
16extern "C" {
17#endif
18struct utmpx *__getutxent_ascii(void);
19__Z_EXPORT int utmpxname(char *);
20
21#if defined(__cplusplus)
22}
23#endif
24
25#if defined(ZOSLIB_OVERRIDE_CLIB) || defined(ZOSLIB_OVERRIDE_CLIB_UTMPX)
26
27#undef getutxent
28#define getutxent __getutxent_replaced
29#include_next <utmpx.h>
30#undef getutxent
31
32#if defined(__cplusplus)
33extern "C" {
34#endif
35
36__Z_EXPORT struct utmpx *getutxent(void) __asm("__getutxent_ascii");
37
38#if defined(__cplusplus)
39}
40#endif
41#else
42#include_next <utmpx.h>
43#endif
44
45#define UTMPX_FILE __UTMPX_FILE
46
47#endif
__Z_EXPORT int utmpxname(char *)
Definition zos-io.cc:774
struct utmpx * __getutxent_ascii(void)
Definition zos-io.cc:784
#define __Z_EXPORT
Definition zos-macros.h:13