foot/slave.h
Daniel Eklöf b3d0215c38
term: add capability to print warnings *inside* the terminal
This is intended to be used to print e.g. deprecation warnings inside
the terminal, *before* the shell is started.
2020-07-29 19:42:12 +02:00

11 lines
271 B
C

#pragma once
#include <stdbool.h>
#include <sys/types.h>
#include "terminal.h"
pid_t slave_spawn(
int ptmx, int argc, const char *cwd, char *const *argv, const char *term_env,
const char *conf_shell, bool login_shell,
const user_warning_list_t *warnings);