Linux串口开发及共享库调用例程
先在命令行运行make编译,生成串口读写共享库,然后运行gcc-s-shared-fPICtest.c-lSetupSerialPort-otest.so,编译串口读写测试程序。文件说明:SetupSerialPort.h//串口读写库头文件SetupSerialPort.c//串口读写库实现文件Makefile//编译串口读写共享库test.c//调用串口读写共享库例程还有Linux下多线程Stocket通讯例程和firefox插件开发例程,有空整理一下贡献给大家了
下载地址
用户评论
不错,很适合学习
非常有用,新手值得一看啊。
很好 对我很有用处!
有一定参考价值,多谢。
test.c: In function ‘main’: test.c:12: error: ‘bause’ undeclared (first use in this function) test.c:12: error: (Each undeclared identifier is reported only once test.c:12: error: for each function it appears in.) test.c:16: error: expected ‘;’ befo
可作为参考用,对刚学的有用
有用,新手值得一看啊。