Xenomai API  2.6.5
heap.h File Reference

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

Include dependency graph for heap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rt_heap_info
 Structure containing heap-information useful to users. More...
 

Typedefs

typedef struct rt_heap_info RT_HEAP_INFO
 Structure containing heap-information useful to users. More...
 

Functions

int rt_heap_create (RT_HEAP *heap, const char *name, size_t heapsize, int mode)
 Create a memory heap or a shared memory segment. More...
 
int rt_heap_delete (RT_HEAP *heap)
 Delete a real-time heap. More...
 
int rt_heap_alloc (RT_HEAP *heap, size_t size, RTIME timeout, void **blockp)
 Allocate a block or return the single segment base. More...
 
int rt_heap_free (RT_HEAP *heap, void *block)
 Free a block. More...
 
int rt_heap_inquire (RT_HEAP *heap, RT_HEAP_INFO *info)
 Inquire about a heap. More...
 

Detailed Description

This file is part of the Xenomai project.

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

Typedef Documentation

typedef struct rt_heap_info RT_HEAP_INFO

Structure containing heap-information useful to users.

See also
rt_heap_inquire()