18 lines
357 B
C
Executable File
18 lines
357 B
C
Executable File
#ifndef _VSER_H
|
|
#define _VSER_H
|
|
|
|
struct option {
|
|
unsigned int datab;
|
|
unsigned int parity;
|
|
unsigned int stopb;
|
|
};
|
|
|
|
#define VS_MAGIC 's'
|
|
|
|
#define VS_SET_BAUD _IOW(VS_MAGIC, 0, unsigned int)
|
|
#define VS_GET_BAUD _IOW(VS_MAGIC, 1, unsigned int)
|
|
#define VS_SET_FFMT _IOW(VS_MAGIC, 2, struct option)
|
|
#define VS_GET_FFMT _IOW(VS_MAGIC, 3, struct option)
|
|
|
|
#endif
|