文件名称:Linux串口开发及共享库调用例程
文件大小:3KB
文件格式:RAR
更新时间:2012-08-15 12:53:57
Linux串口开发 共享库
先在命令行运行make编译,生成串口读写共享库,然后运行gcc -s -shared -fPIC test.c -lSetupSerialPort -o test.so,编译串口读写测试程序。 文件说明: SetupSerialPort.h //串口读写库头文件 SetupSerialPort.c //串口读写库实现文件 Makefile //编译串口读写共享库 test.c //调用串口读写共享库例程 还有Linux下多线程Stocket通讯例程和firefox插件开发例程,有空整理一下贡献给大家了
【文件预览】:
SetupSerialPort
----SetupSerialPort.h(681B)
----说明.txt(370B)
----test.c(376B)
----SetupSerialPort.c(9KB)
----Makefile(225B)