Searched refs:mywd (Results 1 – 1 of 1) sorted by relevance
135 static struct whod mywd; variable139 #define WHDRSIZE (sizeof (mywd) - sizeof (mywd.wd_we))223 (void) strlcpy(mywd.wd_hostname, myname, sizeof (mywd.wd_hostname)); in main()370 struct whoent *we = mywd.wd_we, *wlast; in onalrm()400 wlast = &mywd.wd_we[1024 / sizeof (struct whoent) - 1]; in onalrm()419 utmpxent = we - mywd.wd_we; in onalrm()431 we = mywd.wd_we; in onalrm()443 mywd.wd_loadav[i] = htonl((ulong_t)(avenrun[i] * 100)); in onalrm()444 cc = (char *)we - (char *)&mywd; in onalrm()445 mywd.wd_sendtime = htonl(time(0)); in onalrm()[all …]