include/native/buffer.h File Reference


Detailed Description

This file is part of the Xenomai project.

Note:
Copyright (C) 2008 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.

Include dependency graph for buffer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rt_buffer_bind (RT_BUFFER *bf, const char *name, RTIME timeout)
 Bind to a buffer.
static int rt_buffer_unbind (RT_BUFFER *bf)
 Unbind from a buffer.
int rt_buffer_create (RT_BUFFER *bf, const char *name, size_t bufsz, int mode)
 Create a buffer.
int rt_buffer_delete (RT_BUFFER *bf)
 Delete a buffer.
ssize_t rt_buffer_write (RT_BUFFER *bf, const void *ptr, size_t size, RTIME timeout)
 Write to a buffer.
ssize_t rt_buffer_write_until (RT_BUFFER *bf, const void *ptr, size_t size, RTIME timeout)
 Write to a buffer (with absolute timeout date).
ssize_t rt_buffer_read (RT_BUFFER *bf, void *ptr, size_t size, RTIME timeout)
 Read from a buffer.
int rt_buffer_clear (RT_BUFFER *bf)
 Clear a buffer.
int rt_buffer_inquire (RT_BUFFER *bf, RT_BUFFER_INFO *info)
 Inquire about a buffer.


Generated on Tue Mar 8 13:02:05 2011 for Xenomai API by  doxygen 1.5.6