libcdio  2.1.0
Functions
udf_time.h File Reference

UDF time conversion and access files. More...

#include <time.h>

Go to the source code of this file.

Functions

time_t udf_get_access_time (const udf_dirent_t *p_udf_dirent)
 
time_t udf_get_attribute_time (const udf_dirent_t *p_udf_dirent)
 
time_t udf_get_modification_time (const udf_dirent_t *p_udf_dirent)
 
udf_timestamp_tudf_get_access_timestamp (const udf_dirent_t *p_udf_dirent)
 
udf_timestamp_tudf_get_modification_timestamp (const udf_dirent_t *p_udf_dirent)
 
udf_timestamp_tudf_get_attr_timestamp (const udf_dirent_t *p_udf_dirent)
 
time_t * udf_stamp_to_time (time_t *dest, long int *dest_usec, const udf_timestamp_t src)
 
udf_timestamp_tudf_timespec_to_stamp (const struct timespec ts, udf_timestamp_t *dest)
 

Detailed Description

UDF time conversion and access files.

Function Documentation

◆ udf_get_access_time()

time_t udf_get_access_time ( const udf_dirent_t p_udf_dirent)

Return the access time of the file.

◆ udf_get_access_timestamp()

udf_timestamp_t* udf_get_access_timestamp ( const udf_dirent_t p_udf_dirent)

Return the access timestamp of the file

◆ udf_get_attr_timestamp()

udf_timestamp_t* udf_get_attr_timestamp ( const udf_dirent_t p_udf_dirent)

Return the attr timestamp of the file

◆ udf_get_attribute_time()

time_t udf_get_attribute_time ( const udf_dirent_t p_udf_dirent)

Return the attribute (most recent create or access) time of the file

◆ udf_get_modification_time()

time_t udf_get_modification_time ( const udf_dirent_t p_udf_dirent)

Return the modification time of the file.

◆ udf_get_modification_timestamp()

udf_timestamp_t* udf_get_modification_timestamp ( const udf_dirent_t p_udf_dirent)

Return the modification timestamp of the file

◆ udf_stamp_to_time()

time_t* udf_stamp_to_time ( time_t *  dest,
long int *  dest_usec,
const udf_timestamp_t  src 
)

Convert a UDF timestamp to a time_t. If microseconds are desired, use dest_usec. The return value is the same as dest.

◆ udf_timespec_to_stamp()

udf_timestamp_t* udf_timespec_to_stamp ( const struct timespec  ts,
udf_timestamp_t dest 
)