canltwo.i

来自「can4linux-3.5.3.gz can4 linux」· I 代码 · 共 26 行

I
26
字号
/* canLtwo.i * * interface file for simple layer 2 message handling using can4linux */%module canLtwo%{/* Put header files here (optional) */extern int can_open(int port);extern int can_open(int port);extern int can_close(int fd);extern int can_send(int fd, int len, char *message);extern char *can_read(int fd);extern char *can_read1(int fd, int timeout);extern char *can_read2(int fd, int timeout);%}int can_open(int port);int can_close(int fd);int can_send(int fd, int len, char *message);char *can_read(int fd);char *can_read1(int fd, int timeout = 5000000);char *can_read2(int fd, int timeout = 5000000);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?