libcdio  0.90
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

time_t udf_get_access_time ( const udf_dirent_t p_udf_dirent)

Return the access time of the file.

Return the access timestamp of the file

Return the attr timestamp of the file

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

time_t udf_get_modification_time ( const udf_dirent_t p_udf_dirent)

Return the modification time of the file.

Return the modification timestamp of the file

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_timestamp_t* udf_timespec_to_stamp ( const struct timespec  ts,
udf_timestamp_t dest 
)