1 /* test to build and run so that we know if we have getprotobyname_r
2 * and getprotobynumber_r */
10 struct protoent result_buf
;
11 struct protoent
*result
;
13 getprotobyname_r("", &result_buf
, buf
, BUFSIZE
, &result
);
14 getprotobynumber_r("", &result_buf
, buf
, BUFSIZE
, &result
);