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

/dovecot/src/plugins/old-stats/
H A Dmail-stats-fill.c14 static int proc_io_fd = -1; variable
44 if (proc_io_fd != -1)
45 return proc_io_fd;
53 proc_io_fd = open(PROC_IO_PATH, O_RDONLY);
54 if (proc_io_fd == -1 && errno == EACCES) {
60 proc_io_fd = open(PROC_IO_PATH, O_RDONLY);
70 if (proc_io_fd == -1) {
78 return proc_io_fd;
156 i_close_fd(&proc_io_fd);

Completed in 1832 milliseconds