Searched refs:WHDRSIZE (Results 1 - 3 of 3) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/ruptime/
H A Druptime.c64 #define WHDRSIZE (sizeof(struct whod) - \ macro
134 if (cc < (int)WHDRSIZE)
143 if ((hsp->hs_wd = malloc((size_t)WHDRSIZE)) == NULL)
145 memmove(hsp->hs_wd, buf, (size_t)WHDRSIZE);
/netbsd-6-1-5-RELEASE/usr.bin/rwho/
H A Drwho.c67 #define WHDRSIZE (sizeof(struct whod) - \ macro
138 if (cc < (ssize_t)WHDRSIZE) {
147 cc -= WHDRSIZE;
/netbsd-6-1-5-RELEASE/usr.sbin/rwhod/
H A Drwhod.c102 #define WHDRSIZE (sizeof(mywd) - sizeof(mywd.wd_we)) macro
281 if (cc < (int)WHDRSIZE) {
313 int i, n = (cc - WHDRSIZE) / sizeof(struct whoent);
566 cc -= WHDRSIZE;

Completed in 67 milliseconds