Explorar o código

add gethostid() testcase

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer %!s(int64=16) %!d(string=hai) anos
pai
achega
f588c2d4bb
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      test/inet/gethostid.c

+ 6 - 0
test/inet/gethostid.c

@@ -0,0 +1,6 @@
+#include <unistd.h>
+#include <stdio.h>
+int main(void) {
+	printf("hostid=%d\n", gethostid());
+	return 0;
+}