PatchworkOS
Loading...
Searching...
No Matches
pipeline.c File Reference
#include "pipeline.h"
#include "builtin.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>

Go to the source code of this file.

Functions

uint64_t pipeline_init (pipeline_t *pipeline, const char *cmdline)
 
void pipeline_deinit (pipeline_t *pipeline)
 
static uint64_t pipeline_execute_builtin (cmd_t *cmd)
 
static pid_t pipeline_execute_cmd (cmd_t *cmd)
 
uint64_t pipeline_execute (pipeline_t *pipeline)
 

Variables

static const char * lookupDirs []
 

Function Documentation

◆ pipeline_deinit()

◆ pipeline_execute()

◆ pipeline_execute_builtin()

static uint64_t pipeline_execute_builtin ( cmd_t cmd)
static

◆ pipeline_execute_cmd()

◆ pipeline_init()

Variable Documentation

◆ lookupDirs

const char* lookupDirs[]
static
Initial value:
= {
"/bin",
"/usr/bin",
}

Definition at line 12 of file pipeline.c.

Referenced by pipeline_execute_cmd().