ksrc/skins/native/pipe.c File Reference

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

Include dependency graph for pipe.c:

Functions

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

Detailed Description

This file is part of the Xenomai project.

Note:
Copyright (C) 2004 Philippe Gerum <rpm@xenomai.org>

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.


Generated on Tue Oct 27 19:18:53 2009 for Xenomai API by  doxygen 1.6.1