Home
last modified time | relevance | path

Searched refs:mywd (Results 1 – 2 of 2) sorted by relevance

/netbsd/usr.sbin/rwhod/
H A Drwhod.c99 static struct whod mywd; variable
103 #define WHDRSIZE (sizeof(mywd) - sizeof(mywd.wd_we))
197 (void)strncpy(mywd.wd_hostname, myname, sizeof(mywd.wd_hostname) - 1); in main()
390 utmpent = we - mywd.wd_we; in send_host_information()
402 we = mywd.wd_we; in send_host_information()
411 cc = (char *)we - (char *)&mywd; in send_host_information()
412 mywd.wd_sendtime = htonl(time(0)); in send_host_information()
413 mywd.wd_vers = WHODVERSION; in send_host_information()
414 mywd.wd_type = WHODTYPE_STATUS; in send_host_information()
416 (void)Sendto(s, (char *)&mywd, cc, 0, in send_host_information()
[all …]
/netbsd/lib/librumpuser/
H A Dsp_common.c658 char mywd[PATH_MAX]; in unix_parse() local
660 if (getcwd(mywd, sizeof(mywd)) == NULL) { in unix_parse()
664 if (strlen(addr)+strlen(mywd)+1 in unix_parse()
667 strcpy(s_un.sun_path, mywd); in unix_parse()