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.
#include <nucleus/pipe.h>
#include <nucleus/heap.h>
#include <native/types.h>
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. |