#include <nss.h>
#include <sys/types.h>
#include <fcntl.h>
+#include <sys/wait.h>
#define CONFIGFILE "/etc/nss-icmp.conf"
#if 0
pid_t child;
int pfd[2];
int rl;
+ int status;
struct cache *cc;
if(!inited) {
addrbuf[rl] = 0;
close(pfd[0]);
+ waitpid(child, &status, 0);
+
if((p = strchr(addrbuf, '\n')) == NULL) {
if(usecache)
cachenotfound(addr, len, af, nfttl);