Xenomai API
2.5.6.1
|
This file is part of the Xenomai project. More...
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. | |
int | rt_pipe_delete (RT_PIPE *pipe) |
Delete a message 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_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. | |
ssize_t | rt_pipe_receive (RT_PIPE *pipe, RT_PIPE_MSG **msg, RTIME timeout) |
Receive 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. | |
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. | |
int | rt_pipe_monitor (RT_PIPE *pipe, int(*fn)(RT_PIPE *pipe, int event, long arg)) |
Monitor a message pipe asynchronously. |
This file is part of the Xenomai project.
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.