int io_utime ( resmgr_context_t *ctp,
io_utime_t *msg,
RESMGR_OCB_T *ocb )
Classification: I/O
Default handler: iofunc_utime_default()
Helper functions: iofunc_utime()
Client function: utime()
Messages: _IO_UTIME
Data structure:
struct _io_utime {
uint16_t type;
uint16_t combine_len;
int32_t cur_flag;
struct utimbuf times;
};
typedef union {
struct _io_utime i;
} io_utime_t;
Description: Changes the access and modification times to either "now" (if they are zero) or the specified values. Note that this message handler may be required to modify the IOFUNC_ATTR_* flags in the attribute structure as per POSIX rules. You'll almost never use this outcall yourself, but will instead use the POSIX-layer helper function.
Returns: The status via the helper macro _RESMGR_STATUS().