Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
lxc_pty_init(pty);
- ret = lxc_pty_create(pty);
+ ret = lxc_terminal_create(pty);
if (ret < 0) {
SYSERROR("Failed to create pty");
return -1;
return 0;
}
-int lxc_pty_create(struct lxc_pty *terminal)
+int lxc_terminal_create(struct lxc_pty *terminal)
{
int ret, saved_errno;
return 0;
}
- ret = lxc_pty_create(terminal);
+ ret = lxc_terminal_create(terminal);
if (ret < 0)
return -1;
* automatically chowned to the uid/gid of the unprivileged user. For this
* ttys_shift_ids() can be called.)
*/
-extern int lxc_pty_create(struct lxc_pty *console);
+extern int lxc_terminal_create(struct lxc_pty *console);
/**
* lxc_terminal_setup: Create a new pty.
- * - In addition to lxc_pty_create() also sets up all pty logs.
+ * - In addition to lxc_terminal_create() also sets up all pty logs.
*/
extern int lxc_terminal_setup(struct lxc_conf *);