njb_time_struct(3)

njb_time_struct3

Usage

#include <libnjb.h>

Data Fields

int16_t year
int16_t month
int16_t day
int16_t weekday
int16_t hours
int16_t minutes
int16_t seconds

Detailed Description

Time set/read struct

Examples:

dumptime.c, and settime.c.

Field Documentation

int16_t njb_time_struct::day Day (0-31)

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

int16_t njb_time_struct::hours Hours (24-hour notation)

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

int16_t njb_time_struct::minutes Minutes

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

int16_t njb_time_struct::month Month (0-11)

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

int16_t njb_time_struct::seconds Seconds

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

int16_t njb_time_struct::weekday Day of the week 0=sunday, 6=saturday

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

int16_t njb_time_struct::year Year (4 digits)

Examples: dumptime.c, and settime.c.

Referenced by time_pack(), time_pack3(), time_unpack(), and time_unpack3().

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

Author

Generated automatically by Doxygen for libnjb from the source code.

From libnjb-doc 2.2.5-4.3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.