zoslib
z/OS C/C++ Library
Loading...
Searching...
No Matches
Macros | Functions
time.h File Reference
#include "zos-macros.h"

Go to the source code of this file.

Macros

#define __XPLAT   1
 

Functions

__Z_EXPORT int futimes (int fd, const struct timeval tv[2])
 (__EDC_TARGET < 0x42050000) && defined(ZOSLIB_ENABLE_V2R5_FEATURES)
 
__Z_EXPORT int lutimes (const char *filename, const struct timeval tv[2])
 

Macro Definition Documentation

◆ __XPLAT

#define __XPLAT   1

Function Documentation

◆ futimes()

__Z_EXPORT int futimes ( int  fd,
const struct timeval  tv[2] 
)

(__EDC_TARGET < 0x42050000) && defined(ZOSLIB_ENABLE_V2R5_FEATURES)

Changes the access and modification times of a file

Parameters
[in]fdfile descriptor to modify
[in]tvtimeval structure containing new time
Returns
return 0 for success, or -1 for failure.

◆ lutimes()

__Z_EXPORT int lutimes ( const char *  filename,
const struct timeval  tv[2] 
)

Changes the access and modification times of a file

Parameters
[in]filenamefile path to modify
[in]tvtimeval structure containing new time
Returns
return 0 for success, or -1 for failure.