现在的位置: 首页 > 综合 > 正文

linux 嵌入式驱动程序测试实例

2013年10月15日 ⁄ 综合 ⁄ 共 187字 ⁄ 字号 评论关闭

#include
#include
#include
#include
#include
#include
#include int main()
{
int fd,i,nwrite,nread;
char *buf = "hello/n";
char read_buf[6] = {0};
fd = open("/dev/fs",O_RDWR);
if( fd

抱歉!评论已关闭.