mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
slave: rename slave_spawn() -> slave_exec()
This commit is contained in:
parent
4ec9db8e18
commit
ce5f5e4d51
3 changed files with 3 additions and 3 deletions
2
slave.c
2
slave.c
|
|
@ -13,7 +13,7 @@
|
|||
#include "log.h"
|
||||
|
||||
void
|
||||
slave_spawn(int ptmx, char *const argv[], int err_fd)
|
||||
slave_exec(int ptmx, char *const argv[], int err_fd)
|
||||
{
|
||||
int pts = -1;
|
||||
const char *pts_name = ptsname(ptmx);
|
||||
|
|
|
|||
2
slave.h
2
slave.h
|
|
@ -1,4 +1,4 @@
|
|||
#pragma once
|
||||
#include <stdbool.h>
|
||||
|
||||
void slave_spawn(int ptmx, char *const argv[], int err_fd);
|
||||
void slave_exec(int ptmx, char *const argv[], int err_fd);
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
|
|||
shell_argv = _shell_argv;
|
||||
}
|
||||
|
||||
slave_spawn(ptmx, shell_argv, fork_pipe[1]);
|
||||
slave_exec(ptmx, shell_argv, fork_pipe[1]);
|
||||
assert(false);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue