/* Test whether a basic gethostent invocation works. */ #include #include #include "../basic.h" int main(void) { errno = 0; if ( !gethostent() && errno ) err(1, "gethostent"); return 0; }