HomeSort by: relevance | last modified time | path
    Searched defs:whod (Results 1 - 2 of 2) sorted by relevancy

  /src/include/protocols/
rwhod.h 48 struct whod { struct
  /src/usr.sbin/rwhod/
rwhod.c 99 static struct whod mywd;
266 struct whod wd;
267 int cc, whod; local in function:handleread
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)
    [all...]

Completed in 11 milliseconds