Pipes
Thick Ada wrapper for pipe functions in C.
 |  | type Pipe_Stream |  |
 | A new stream type for pipes. |  |
 |  | type Pipe |  |
 | Make pipes compatible with stream functions. |  |
 |  | type Pipe_Mode |  |
 | Either input or output. |  |
 |  | function Std_In |  |
 | Read-only pipe from standard input. |  |
|
 |  | function Std_Out |  |
 | Write-only pipe to standard output. |  |
|
 |  | function Execute |  |
 | One-way pipe to external program. |  |
|
 |  | procedure Close |  |
 | Close a pipe. |  |
|
 |  | procedure Read |  |
 | Read from a pipe.
You can use Sometype'Read(Pipe, Value). |  |
Param | Type | Description |
in out Stream | Pipe_Stream |
|
out Item | Stream_Element_Array |
|
out Last | Stream_Element_Offset |
|
|
 |  | procedure Write |  |
 | Write to a pipe.
You can use Sometype'Write(Pipe, Value). |  |
Param | Type | Description |
in out Stream | Pipe_Stream |
|
in Item | Stream_Element_Array |
|
|
|