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

Go to the source code of this file.

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

Definition at line 69 of file gmtime.c.


Variable Documentation

Definition at line 72 of file gmtime.c.

Referenced by gmtime(), and localtime().

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

Definition at line 77 of file gmtime.c.

Referenced by gmtime_r().

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

Definition at line 80 of file gmtime.c.

Referenced by gmtime_r().