Home | History | Annotate | Download | only in rwhod

Lines Matching defs:whod

99 static struct	whod mywd;
266 struct whod wd;
267 int cc, whod;
270 cc = recvfrom(s, (char *)&wd, sizeof(struct whod), 0,
302 (void)snprintf(path, sizeof(path), "whod.%s", wd.wd_hostname);
307 whod = open(path, O_WRONLY | O_CREAT, 0644);
308 if (whod < 0) {
332 (void)write(whod, (char *)&wd, cc);
333 if (fstat(whod, &st) < 0 || st.st_size > cc)
334 (void)ftruncate(whod, cc);
335 (void)close(whod);
553 struct whod *w = (struct whod *)buf;