mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
term: move client startup to a new function, slave_spawn()
This commit is contained in:
parent
348f3738da
commit
18921f7f45
3 changed files with 79 additions and 61 deletions
5
slave.h
5
slave.h
|
|
@ -1,4 +1,7 @@
|
|||
#pragma once
|
||||
#include <stdbool.h>
|
||||
|
||||
void slave_exec(int ptmx, char *const argv[], int err_fd);
|
||||
#include <sys/types.h>
|
||||
|
||||
pid_t slave_spawn(
|
||||
int ptmx, int argc, char *const *argv, const char *conf_shell);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue