From 8df9466ada46e4b07990b9cb7e8b1cd61b96844a Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 17 Jun 2012 21:15:12 +0000 Subject: todo list update git-svn-id: svn://localhost/project_picapica/trunk@128 fb96df88-216d-11de-830c-f3023f12d8ac --- tests/test_addrconv.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/test_addrconv.c (limited to 'tests/test_addrconv.c') diff --git a/tests/test_addrconv.c b/tests/test_addrconv.c new file mode 100644 index 0000000..a5e4a15 --- /dev/null +++ b/tests/test_addrconv.c @@ -0,0 +1,23 @@ +#include +#include +#include +#include + + +#include + +int main() +{ +int ret; +char buf[256]; + + +gets(buf); + + +ret=inet_aton(buf,(struct in_addr*)(buf+128)); + +printf("inet_aton()=%i\n",ret); + +return 0; +} \ No newline at end of file -- cgit v1.2.1