Xenomai API  2.6.5
pipe.h File Reference

This file is part of the Xenomai project. More...

Include dependency graph for pipe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rt_pipe_create (RT_PIPE *pipe, const char *name, int minor, size_t poolsize)
 Create a message pipe. More...
 
int rt_pipe_delete (RT_PIPE *pipe)
 Delete a message pipe. More...
 
ssize_t rt_pipe_read (RT_PIPE *pipe, void *buf, size_t size, RTIME timeout)
 Read a message from a pipe. More...
 
ssize_t rt_pipe_write (RT_PIPE *pipe, const void *buf, size_t size, int mode)
 Write a message to a pipe. More...
 
ssize_t rt_pipe_stream (RT_PIPE *pipe, const void *buf, size_t size)
 Stream bytes to a pipe. More...
 
ssize_t rt_pipe_receive (RT_PIPE *pipe, RT_PIPE_MSG **msg, RTIME timeout)
 Receive a message from a pipe. More...
 
ssize_t rt_pipe_send (RT_PIPE *pipe, RT_PIPE_MSG *msg, size_t size, int mode)
 Send a message through a pipe. More...
 
RT_PIPE_MSG * rt_pipe_alloc (RT_PIPE *pipe, size_t size)
 Allocate a message pipe buffer. More...
 
int rt_pipe_free (RT_PIPE *pipe, RT_PIPE_MSG *msg)
 Free a message pipe buffer. More...
 
int rt_pipe_flush (RT_PIPE *pipe, int mode)
 Flush the i/o queues associated with the kernel endpoint of a message pipe. More...
 
int rt_pipe_monitor (RT_PIPE *pipe, int(*fn)(RT_PIPE *pipe, int event, long arg))
 Monitor a message pipe asynchronously. More...
 

Detailed Description

This file is part of the Xenomai project.

Note
Copyright (C) 2004 Philippe Gerum rpm@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.