PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
pipeline.c File Reference
#include "pipeline.h"
#include "builtin.h"
#include <_internal/MAX_PATH.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/argsplit.h>
#include <sys/io.h>
#include <sys/proc.h>
Include dependency graph for pipeline.c:

Go to the source code of this file.

Functions

uint64_t pipeline_init (pipeline_t *pipeline, const char *cmdline, fd_t stdin, fd_t stdout, fd_t stderr)
 
void pipeline_deinit (pipeline_t *pipeline)
 
static pid_t pipeline_execute_cmd (cmd_t *cmd)
 
void pipeline_execute (pipeline_t *pipeline)
 
void pipeline_wait (pipeline_t *pipeline)
 

Function Documentation

◆ pipeline_init()

uint64_t pipeline_init ( pipeline_t pipeline,
const char cmdline,
fd_t  stdin,
fd_t  stdout,
fd_t  stderr 
)

Definition at line 13 of file pipeline.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pipeline_deinit()

void pipeline_deinit ( pipeline_t pipeline)

Definition at line 264 of file pipeline.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pipeline_execute_cmd()

static pid_t pipeline_execute_cmd ( cmd_t cmd)
static

Definition at line 296 of file pipeline.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pipeline_execute()

void pipeline_execute ( pipeline_t pipeline)

Definition at line 427 of file pipeline.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pipeline_wait()

void pipeline_wait ( pipeline_t pipeline)

Definition at line 435 of file pipeline.c.

Here is the call graph for this function:
Here is the caller graph for this function: