Searched defs:fifo_path (Results 1 - 2 of 2) sorted by relevance
/lxc/src/lxc/ |
H A D | monitor.c | 55 int lxc_monitor_fifo_name(const char *lxcpath, char *fifo_path, size_t fifo_path_sz, argument 66 ret = snprintf(fifo_path, fifo_path_sz, "%s/lxc/%s", rundir, lxcpath); 72 ret = mkdir_p(fifo_path, 0755); 74 ERROR("Unable to create monitor fifo directory %s.", fifo_path); 79 ret = snprintf(fifo_path, fifo_path_sz, "%s/lxc/%s/monitor-fifo", rundir, lxcpath); 92 char fifo_path[PATH_MAX]; local 96 ret = lxc_monitor_fifo_name(lxcpath, fifo_path, sizeof(fifo_path), 0); 103 fd = open(fifo_path, O_WRONLY | O_NONBLOCK); 123 SYSERROR("Failed to write to monitor fifo \"%s\".", fifo_path); [all...] |
H A D | lxc_monitord.c | 82 char fifo_path[PATH_MAX]; local 85 ret = lxc_monitor_fifo_name(mon->lxcpath, fifo_path, sizeof(fifo_path), 1); 89 ret = mknod(fifo_path, S_IFIFO|S_IRUSR|S_IWUSR, 0); 91 INFO("Failed to mknod monitor fifo %s: %s.", fifo_path, strerror(errno)); 95 mon->fifofd = open(fifo_path, O_RDWR); 97 unlink(fifo_path); 117 char fifo_path[PATH_MAX]; local 120 ret = lxc_monitor_fifo_name(mon->lxcpath, fifo_path, sizeof(fifo_path), [all...] |
Completed in 8 milliseconds