Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/clock.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _SYS_CLOCK_H_ | #ifndef _SYS_CLOCK_H_ | ||||
#define _SYS_CLOCK_H_ | #define _SYS_CLOCK_H_ | ||||
#ifdef _KERNEL /* No user serviceable parts */ | #ifdef _KERNEL /* No user serviceable parts */ | ||||
/* | |||||
* Timezone info from settimeofday(2), usually not used | |||||
*/ | |||||
extern int tz_minuteswest; | |||||
extern int tz_dsttime; | |||||
int utc_offset(void); | int utc_offset(void); | ||||
/* | /* | ||||
* Structure to hold the values typically reported by time-of-day clocks, | * Structure to hold the values typically reported by time-of-day clocks, | ||||
* expressed as binary integers (see below for a BCD version). This can be | * expressed as binary integers (see below for a BCD version). This can be | ||||
* passed to the conversion functions to be converted to/from a struct timespec. | * passed to the conversion functions to be converted to/from a struct timespec. | ||||
* | * | ||||
* On input, the year is interpreted as follows: | * On input, the year is interpreted as follows: | ||||
▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines |