S2OPC OPCUA Toolkit
Data Structures | Typedefs | Functions
p_time_c99.h File Reference
#include <stdint.h>
#include <stdio.h>

Go to the source code of this file.

Data Structures

struct  tm
 

Typedefs

typedef int64_t time_t
 

Functions

size_t strftime (char *strBuffer, size_t maxSize, const char *format, const struct tm *pTime)
 
time_t mktime (struct tm *tp)
 
struct tmlocaltime_r (const time_t *restrict t, struct tm *restrict tm)
 
struct tmgmtime_r (const time_t *restrict t, struct tm *restrict tm)
 
struct tmgmtime (const time_t *restrict t)
 
int __month_to_secs (int, int)
 
long long __year_to_secs (long long, int *)
 
long long __tm_to_secs (const struct tm *)
 
int __secs_to_tm (long long, struct tm *)
 
void __secs_to_zone (long long, int, int *, long *, long *, const char **)
 

Typedef Documentation

◆ time_t

typedef int64_t time_t

Function Documentation

◆ strftime()

size_t strftime ( char *  strBuffer,
size_t  maxSize,
const char *  format,
const struct tm pTime 
)

◆ mktime()

time_t mktime ( struct tm tp)

◆ localtime_r()

struct tm* localtime_r ( const time_t *restrict  t,
struct tm *restrict  tm 
)

◆ gmtime_r()

struct tm* gmtime_r ( const time_t *restrict  t,
struct tm *restrict  tm 
)

◆ gmtime()

struct tm* gmtime ( const time_t *restrict  t)

◆ __month_to_secs()

int __month_to_secs ( int  ,
int   
)

◆ __year_to_secs()

long long __year_to_secs ( long long  ,
int *   
)

◆ __tm_to_secs()

long long __tm_to_secs ( const struct tm )

◆ __secs_to_tm()

int __secs_to_tm ( long long  ,
struct tm  
)

◆ __secs_to_zone()

void __secs_to_zone ( long long  ,
int  ,
int *  ,
long *  ,
long *  ,
const char **   
)