Xenomai API  2.6.5
buffer.h File Reference

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

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. More...
 
static int rt_buffer_unbind (RT_BUFFER *bf)
 Unbind from a buffer. More...
 
int rt_buffer_create (RT_BUFFER *bf, const char *name, size_t bufsz, int mode)
 Create a buffer. More...
 
int rt_buffer_delete (RT_BUFFER *bf)
 Delete a buffer. More...
 
ssize_t rt_buffer_write (RT_BUFFER *bf, const void *ptr, size_t size, RTIME timeout)
 Write to a buffer. More...
 
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). More...
 
ssize_t rt_buffer_read (RT_BUFFER *bf, void *ptr, size_t size, RTIME timeout)
 Read from a buffer. More...
 
int rt_buffer_clear (RT_BUFFER *bf)
 Clear a buffer. More...
 
int rt_buffer_inquire (RT_BUFFER *bf, RT_BUFFER_INFO *info)
 Inquire about a buffer. More...
 

Detailed Description

This file is part of the Xenomai project.

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