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

/netbsd-current/usr.sbin/envstat/
H A Denvstat.c120 static int sysmonfd; /* fd of /dev/sysmon */ variable
216 if ((sysmonfd = prog_open(_PATH_SYSMON, O_RDONLY)) == -1)
221 rval = prop_dictionary_recv_ioctl(sysmonfd,
292 (void)prog_close(sysmonfd);
295 if ((sysmonfd = prog_open(_PATH_SYSMON, O_RDWR)) == -1)
309 rval = prop_dictionary_send_ioctl(dict, sysmonfd,
330 rval = parse_dictionary(sysmonfd);
339 rval = parse_dictionary(sysmonfd);
342 (void)prog_close(sysmonfd);
354 error = prop_dictionary_recv_ioctl(sysmonfd,
[all...]

Completed in 199 milliseconds