From f588c2d4bb2d9cb5f2ae5f4f50a7eaf60f80aff6 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 3 Feb 2010 15:56:24 +0100 Subject: add gethostid() testcase Signed-off-by: Bernhard Reutner-Fischer --- test/inet/gethostid.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/inet/gethostid.c (limited to 'test/inet') diff --git a/test/inet/gethostid.c b/test/inet/gethostid.c new file mode 100644 index 000000000..295166536 --- /dev/null +++ b/test/inet/gethostid.c @@ -0,0 +1,6 @@ +#include +#include +int main(void) { + printf("hostid=%d\n", gethostid()); + return 0; +} -- cgit v1.2.3