Searched refs:mywd (Results 1 – 1 of 1) sorted by relevance
93 struct whod mywd; variable99 #define WHDRSIZE (sizeof(mywd) - sizeof(mywd.wd_we))168 strncpy(mywd.wd_hostname, myname, sizeof(mywd.wd_hostname) - 1); in main()169 mywd.wd_hostname[sizeof(mywd.wd_hostname) - 1] = '\0'; in main()343 struct whoent *we = mywd.wd_we, *wlast; in timer()381 wlast = &mywd.wd_we[1024 / sizeof(struct whoent) - 1]; in timer()394 utmpent = we - mywd.wd_we; in timer()406 we = mywd.wd_we; in timer()414 mywd.wd_loadav[i] = htonl((u_long)(avenrun[i] * 100)); in timer()415 cc = (char *)we - (char *)&mywd; in timer()[all …]