OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:whod
(Results
1 - 4
of
4
) sorted by relevancy
/src/include/protocols/
rwhod.h
48
struct
whod
{
struct
/src/usr.bin/ruptime/
ruptime.c
59
struct
whod
*hs_wd;
64
#define WHDRSIZE (sizeof(struct
whod
) - \
65
sizeof (((struct
whod
*)0)->wd_we))
83
struct
whod
*wd;
88
char buf[sizeof(struct
whod
)];
125
if (dp->d_ino == 0 || strncmp(dp->d_name, "
whod
.", 5))
131
cc = read(fd, buf, sizeof(struct
whod
));
147
for (wd = (struct
whod
*)buf, i = 0; i < 2; ++i)
/src/usr.sbin/rwhod/
rwhod.c
99
static struct
whod
mywd;
266
struct
whod
wd;
267
int cc,
whod
;
local
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
...]
/src/usr.bin/rwho/
rwho.c
67
#define WHDRSIZE (sizeof(struct
whod
) - \
68
sizeof (((struct
whod
*)NULL)->wd_we))
82
struct
whod
wd;
131
if (dp->d_ino == 0 || strncmp(dp->d_name, "
whod
.", 5))
Completed in 24 milliseconds
Indexes created Mon Feb 23 01:20:22 UTC 2026