Main Page Class Hierarchy Compound List File List Compound Members File Members

# pipe.c File Reference

`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`

Go to the source code of this file.

## Defines
#define | MAXWRITE 500
## Functions
int | pipe_init (char *nextproc, unsigned long pipesize)
int | pipe_put (char *msg, int msgtype)
int | pipe_get (char *msg, int maxlen, int *type)
void | pipe_close (void)
## Variables
FILE * | Pipe

## Define Documentation

#define MAXWRITE 500

| Definition at line 51 of file pipe.c.

## Function Documentation

void pipe_close | ( | void |  | ) |

| Definition at line 177 of file pipe.c.

int pipe_get | ( | char * | msg,
|  | int | maxlen,
|  | int * | type
| ) |

| Definition at line 116 of file pipe.c. References type.

int pipe_init | ( | char * | nextproc,
|  | unsigned long | pipesize
| ) |

| Definition at line 36 of file pipe.c. References Pipe.

int pipe_put | ( | char * | msg,
|  | int | msgtype
| ) |

| Definition at line 53 of file pipe.c.

## Variable Documentation

FILE* Pipe`[static]`

| Definition at line 27 of file pipe.c. Referenced by pipe_init().