VLC 4.0.0-dev
Loading...
Searching...
No Matches
spawn.c File Reference
Include dependency graph for spawn.c:

Functions

static LPPROC_THREAD_ATTRIBUTE_LIST allow_hstd_inherit (HANDLE *handles)
 
static HANDLE dup_handle_from_fd (const int fd)
 
static int vlc_spawn_inner (pid_t *restrict pid, const char *path, const int fdv[4], 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.
 

Function Documentation

◆ allow_hstd_inherit()

static LPPROC_THREAD_ATTRIBUTE_LIST allow_hstd_inherit ( HANDLE *  handles)
static

References unlikely.

Referenced by vlc_spawn_inner().

◆ dup_handle_from_fd()

static HANDLE dup_handle_from_fd ( const int  fd)
static

Referenced by vlc_spawn_inner().

◆ 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[4],
const char *const *  argv,
bool  search 
)
static

◆ vlc_spawnp()

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

References vlc_spawn_inner().