File: spawn.h

package info (click to toggle)
foot 1.25.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,108 kB
  • sloc: ansic: 41,260; python: 474; sh: 181; xml: 57; makefile: 18
file content (16 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <stdbool.h>
#include <unistd.h>

#include "config.h"
#include "reaper.h"

pid_t spawn(struct reaper *reaper, const char *cwd, char *const argv[],
            int stdin_fd, int stdout_fd, int stderr_fd,
            reaper_cb cb, void *cb_data, const char *xdg_activation_token);

bool spawn_expand_template(
    const struct config_spawn_template *template,
    size_t key_count, const char *key_names[static key_count],
    const char *key_values[static key_count], size_t *argc, char ***argv);