VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
vcom_client.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
#include <limits.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/time.h>
#include <time.h>
#include <netdb.h>
#include "advioctl.h"
#include "advtype.h"
#include "vcom_proto.h"
#include "vcom.h"

Macros

#define _GNU_SOURCE
 
#define RBUF_SIZE   4096
 

Functions

struct vc_opsvc_recv_desp (struct vc_attr *port)
 
void _init_std ()
 
void usage (char *cmd)
 
int startup (int argc, char **argv, struct vc_attr *port)
 
int main (int argc, char **argv)
 

Variables

void * stk_mon
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ RBUF_SIZE

#define RBUF_SIZE   4096

Function Documentation

◆ _init_std()

void _init_std ( )

◆ main()

int main ( int argc,
char ** argv )

◆ startup()

int startup ( int argc,
char ** argv,
struct vc_attr * port )

◆ usage()

void usage ( char * cmd)

◆ vc_recv_desp()

struct vc_ops * vc_recv_desp ( struct vc_attr * port)

Variable Documentation

◆ stk_mon

void* stk_mon