chudefs.h
来自「ntp-4.1.2.tar.gz Linux/Unix编程」· C头文件 代码 · 共 23 行
H
23 行
/* * Definitions for the CHU line discipline v2.0 *//* * The CHU time code consists of 10 BCD digits and is repeated * twice for a total of 10 characters. A time is taken after * the arrival of each character. The following structure is * used to return this stuff. */#define NCHUCHARS (10)struct chucode { u_char codechars[NCHUCHARS]; /* code characters */ u_char ncodechars; /* number of code characters */ u_char chutype; /* packet type */ struct timeval codetimes[NCHUCHARS]; /* arrival times */};#define CHU_TIME 0 /* second half is equal to first half */#define CHU_YEAR 1 /* second half is one's complement */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?