commit | 824eb0c6ade808c4501e62fbcf0025f4e694cd11 | [log] [tgz] |
---|---|---|
author | yuezonghe <zh.yue@mobiletek.cn> | Thu Jun 27 02:32:26 2024 -0700 |
committer | yuezonghe <zh.yue@mobiletek.cn> | Thu Jun 27 02:44:13 2024 -0700 |
tree | 13cee949649ece72b1c31aba2eea600eea6614d6 | |
parent | 703a1d3d22068e43b7bb3d63b3020b975fee9c3f [diff] [blame] |
zte's code,first commit Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/uClibc/test/stdio/64bit.c b/ap/build/uClibc/test/stdio/64bit.c new file mode 100644 index 0000000..9b94dd8 --- /dev/null +++ b/ap/build/uClibc/test/stdio/64bit.c
@@ -0,0 +1,12 @@ +#include <stdio.h> + +int main(void) +{ + unsigned long long val = -1; + void *ptr = (void *)-1; + printf("%p\n", ptr); + + sscanf("123456789", "%Lx", &val); + printf("val = %Lx\n", val); + return 0; +}