# GetFileCLibTime

int GetFileCLibTime (const char fileName[], time_t *fileName);

## Purpose

This function returns the time of the file in the same timebase used by the C Library time function.

This allows the file's time to be compared with times obtained from C Library functions. The returned time also can be passed to the C Library time formatting and conversion functions.

## Parameters

Input
Name | Type | Description
fileName | const char [] | Specifies the pathname of the file for which to get the date.
Output
Name | Type | Description
fileTime | time_t * | Returns the time of the file in the same units used by the C Library time function.

## Return Value

Name | Type | Description
result | integer | 1 is returned if the function succeeded. 0 is returned if there was an error converting the file time to the C Library form. A negative User Interface Library error code is returned if an error occurred while reading the file time.