VLC 4.0.0-dev
spawn.c File Reference
Include dependency graph for spawn.c:

Functions

static int vlc_spawn_inner (pid_t *restrict pid, const char *path, const int *fdv, const char *const *argv, bool search)
 
int vlc_spawnp (pid_t *restrict pid, const char *path, const int *fdv, const char *const *argv)
 
int vlc_spawn (pid_t *restrict pid, const char *file, const int *fdv, const char *const *argv)
 
int vlc_waitpid (pid_t pid)
 Waits for a child process. More...
 

Variables

char ** environ
 

Function Documentation

◆ vlc_spawn()

int vlc_spawn ( pid_t *restrict  pid,
const char *  file,
const int *  fdv,
const char *const *  argv 
)

References vlc_spawn_inner().

◆ vlc_spawn_inner()

static int vlc_spawn_inner ( pid_t *restrict  pid,
const char *  path,
const int *  fdv,
const char *const *  argv,
bool  search 
)
static

References environ, and unlikely.

Referenced by vlc_spawn(), and vlc_spawnp().

◆ vlc_spawnp()

int vlc_spawnp ( pid_t *restrict  pid,
const char *  path,
const int *  fdv,
const char *const *  argv 
)

References vlc_spawn_inner().

Variable Documentation

◆ environ

char** environ
extern

Referenced by vlc_spawn_inner().