mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2025-06-18 17:20:38 +00:00
fix wget timeout bug
This commit is contained in:
BIN
1_3.test_code/c_test/testSprintf
Executable file
BIN
1_3.test_code/c_test/testSprintf
Executable file
Binary file not shown.
16
1_3.test_code/c_test/testSprintf.c
Normal file
16
1_3.test_code/c_test/testSprintf.c
Normal file
@ -0,0 +1,16 @@
|
||||
/*************************************************************************
|
||||
> File Name: testSprintf.c
|
||||
> Description:
|
||||
> Conclusion:
|
||||
> Author: rh_Jameson
|
||||
> Created Time: 2015年06月29日 星期一 13时34分48秒
|
||||
************************************************************************/
|
||||
|
||||
#include<stdio.h>
|
||||
int main(){
|
||||
char buffer[50];
|
||||
int val = 10;
|
||||
sprintf(buffer, "helloworld %d", val);
|
||||
printf("%s", buffer);
|
||||
printf("%d, %d", __LINE__, __func__);
|
||||
}
|
Reference in New Issue
Block a user