|
Linux Kernel
3.7.1
|
#include <errno.h>#include <fcntl.h>#include <math.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <sys/stat.h>#include <sys/time.h>#include <sys/timex.h>#include <sys/types.h>#include <time.h>#include <unistd.h>#include <linux/ptp_clock.h>#include <sys/syscall.h>Go to the source code of this file.
Macros | |
| #define | DEVICE "/dev/ptp0" |
| #define | ADJ_SETOFFSET 0x0100 |
| #define | CLOCK_INVALID -1 |
| #define | CLOCKFD 3 |
| #define | FD_TO_CLOCKID(fd) ((~(clockid_t) (fd) << 3) | CLOCKFD) |
Functions | |
| int | main (int argc, char *argv[]) |
| #define CLOCKFD 3 |
1.8.2