Nut/OS  5.0.5
API Reference
gmtime.c File Reference
#include <stdint.h>
#include <time.h>
#include "ctime.h"
#include <stddef.h>
Include dependency graph for gmtime.c:

Defines

#define __need_NULL

Functions

int gmtime_r (const time_t *timer, tm *ptm)
 Convert a time value to a structure.
tmgmtime (const time_t *timer)
 Convert a time value to a structure.

Variables

tm _tb
int _lpdays []
int _days []

Define Documentation

#define __need_NULL

Variable Documentation

Referenced by gmtime(), and localtime().

int _lpdays[]
Initial value:
 {
    -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365
}

Referenced by gmtime_r().

int _days[]
Initial value:
 {
    -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364
}

Referenced by gmtime_r().