IBNOS
Macros | Functions
Pipes

Macros

#define MIN_PIPE_BUFFER_SIZE   0x1000
 
#define MAX_PIPE_BUFFER_SIZE   0x10000
 

Functions

struct pipepipeCreate ()
 Creates a new kernel pipe object. More...
 
struct stdoutstdoutCreate ()
 Creates a new kernel stdout object. More...
 

Detailed Description

Implementation of Pipes.

Macro Definition Documentation

◆ MAX_PIPE_BUFFER_SIZE

#define MAX_PIPE_BUFFER_SIZE   0x10000

Definition at line 42 of file pipe.c.

◆ MIN_PIPE_BUFFER_SIZE

#define MIN_PIPE_BUFFER_SIZE   0x1000

Definition at line 41 of file pipe.c.

Function Documentation

◆ pipeCreate()

struct pipe* pipeCreate ( )

Creates a new kernel pipe object.

Returns
Pointer to the kernel pipe object

Definition at line 88 of file pipe.c.

◆ stdoutCreate()

struct stdout* stdoutCreate ( )

Creates a new kernel stdout object.

This function allocates a new kernel stdout object, which can be used to write data into the terminal. It can be seen as a special case of a pipe object. In contrary to a regular pipe it doesn't support waiting or buffering.

Returns
Pointer to the kernel stdout object

Definition at line 380 of file pipe.c.