source: branches/stable/mondo/src/include/mr_mem.h @ 1061

Last change on this file since 1061 was 1061, checked in by bruno, 13 years ago
  • mpt + ohci modules added for mindi
  • PATH fixed for init in restore (/usr/games added for petris + fixes)
  • Useless conf files removed from rootfs/etc or cleaned up
  • Still trying to have a working va_list by busybox alignment
  • Property svn:eol-style set to native
File size: 553 bytes
Line 
1/*
2 * $Id$
3 *
4 *     Header file of mr_mem: a set of function manipulating memory
5 *     Provided under the GPL v2
6 */
7
8#ifndef MR_MEM_H
9#define MR_MEM_H
10
11#ifndef _GNU_SOURCE
12#define _GNU_SOURCE
13#endif
14#include <stdarg.h>
15
16/* functions (public methods) */
17
18extern void mr_free(char *allocated);
19extern void mr_allocstr(char *alloc, const char *orig);
20extern void mr_asprintf(char **alloc, const char *fmt, va_list args);
21extern void mr_getline(char **lineptr, size_t *n, FILE *stream);
22extern void *mr_malloc(size_t size);
23
24#endif                          /* MR_MEM_H */
Note: See TracBrowser for help on using the repository browser.