Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1489442
  • 博文数量: 129
  • 博客积分: 1449
  • 博客等级: 上尉
  • 技术积分: 3048
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-24 18:36
文章分类

全部博文(129)

文章存档

2015年(3)

2014年(20)

2013年(65)

2012年(41)

发布时间:2012-12-18 08:36:05

-->的意思, 左边是指针变量.的意思是, 左边是非指针变量static struct http_request *req;req->method = UH_HTTP_MSG_POST;static struct http_request req;req.method = UH_HTTP_MSG_POST;//---结构和结构指针typedef struct {  U32   fsize;                         &nb......【阅读全文】

阅读(1885) | 评论(0) | 转发(0)

发布时间:2012-12-18 08:18:56

sscanf可以从字符串中取出整数、浮点数和字符串等等。特别对于整数和浮点数来说1. 常见用法。char str[512] = {0};sscanf("123456 ", "%s", str);printf("str=%s\n", str);2. 取指定长度的字符串。如在下例中,取最大长度为4字节的字符串。sscanf("123456 ", "%4s", str);printf("str=%s\n", str);3. 取到指定字符为止的字符串。如在下例中,取遇到空格为止字符串。sscanf("123456 abcdedf", "%[^ ]", str);printf("str=%s\n", s......【阅读全文】

阅读(1644) | 评论(0) | 转发(0)

发布时间:2012-12-17 11:56:26

Raw TCP/IP interface for lwIPAuthors: Adam Dunkels, Leon Woestenberg, Christiaan SimonslwIP provides three Application Program's Interfaces (APIs) for programsto use for communication with the TCP/IP code:* low-level "core" / "callback" or "raw" API.* higher-level "sequential" API.* BSD-style socket......【阅读全文】

阅读(1871) | 评论(0) | 转发(0)

发布时间:2012-12-14 11:52:25

表头文件:    #include                      #include 定义函数:    int stat(const char *file_name, struct stat *buf);函数说明:    通过文件名......【阅读全文】

阅读(4864) | 评论(0) | 转发(0)

发布时间:2012-12-13 09:15:17

/etc/init.d/uhttpd stopopkg install /xutest/uhttpd_31_ar71xx.ipkopkg install /xutest/uhttpd_xu1_ar71xx.ipk/etc/init.d/uhttpd enable/etc/init.d/uhttpd start【Receive from 192.168.1.1 : 47881】:uhttpd mainloop-->#192.168.1.1/xutest/web-cgi.html【Receive from 192.168.1.1 : 58907】:uh_http_header_parse--......【阅读全文】

阅读(3408) | 评论(0) | 转发(1)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册