zoslib
z/OS C/C++ Library
Loading...
Searching...
No Matches
time.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_TIME_H_
10#define ZOS_SYS_TIME_H_
11
12#define __XPLAT 1
13#include "zos-macros.h"
14
15#if (__EDC_TARGET < 0x42050000) && defined(ZOSLIB_ENABLE_V2R5_FEATURES)
16
17#include_next <sys/time.h>
18
19#if defined(__cplusplus)
20extern "C" {
21#endif
22
29__Z_EXPORT extern int (*futimes)(int fd, const struct timeval tv[2]);
36__Z_EXPORT extern int (*lutimes)(const char *filename, const struct timeval tv[2]);
37
38#if defined(__cplusplus)
39}
40#endif
41
42#else
43#include_next <sys/time.h>
44
45#if defined(__cplusplus)
46extern "C" {
47#endif
54__Z_EXPORT int futimes(int fd, const struct timeval tv[2]);
61__Z_EXPORT int lutimes(const char *filename, const struct timeval tv[2]);
62#if defined(__cplusplus)
63}
64#endif
65
66#endif
67
68#endif
__Z_EXPORT int futimes(int fd, const struct timeval tv[2])
(__EDC_TARGET < 0x42050000) && defined(ZOSLIB_ENABLE_V2R5_FEATURES)
Definition zos.cc:2842
__Z_EXPORT int lutimes(const char *filename, const struct timeval tv[2])
Definition zos.cc:2865
#define __Z_EXPORT
Definition zos-macros.h:13