chiark / gitweb /
nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1
[elogind.git] / src / shared / ptyfwd.h
index d3e229bd70fd9671db60810ffbd8459ff3b8da95..6208a543db971ffc02a7ff2d39be5759cc222023 100644 (file)
@@ -30,7 +30,7 @@
 
 typedef struct PTYForward PTYForward;
 
-int pty_forward_new(sd_event *event, int master, bool ignore_vhangup, PTYForward **f);
+int pty_forward_new(sd_event *event, int master, bool ignore_vhangup, bool read_only, PTYForward **f);
 PTYForward *pty_forward_free(PTYForward *f);
 
 int pty_forward_get_last_char(PTYForward *f, char *ch);