TwiceAsNice
2019-02-18
|
#include <errno.h>
#include <semaphore.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include "main.h"
Macros | |
#define | _1_SEC (1000L) |
#define | _15_SEC (15L * _1_SEC) |
#define | _30_SEC (30L * _1_SEC) |
Variables | |
static int | rx_stat |
static sem_t | sem_enter |
static sem_t | sem_exit |
static int | tx_stat |
static gsc_wait_t | wait_dst |
static int | wait_fd |
struct { | |
const char * name | |
int(* function )(int fd) | |
gsc_wait_t wait | |
} | wait_src [] |
#define _15_SEC (15L * _1_SEC) |
#define _1_SEC (1000L) |
#define _30_SEC (30L * _1_SEC) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int wait_event_test | ( | int | fd | ) |
int(* function) (int fd) |
const char* name |
|
static |
|
static |
|
static |
|
static |
gsc_wait_t wait |
|
static |
|
static |
const { ... } wait_src[] |