Răsfoiți Sursa

add gethostid() testcase

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 15 ani în urmă
părinte
comite
f588c2d4bb
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  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;
+}