Changeset 1061 in MondoRescue for branches/stable/mondo/src/include/mr_mem.h
- Timestamp:
- Jan 18, 2007, 1:47:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/include/mr_mem.h
r1054 r1061 9 9 #define MR_MEM_H 10 10 11 #ifndef _GNU_SOURCE 12 #define _GNU_SOURCE 13 #endif 14 #include <stdarg.h> 15 11 16 /* functions (public methods) */ 12 17 13 18 extern void mr_free(char *allocated); 14 19 extern void mr_allocstr(char *alloc, const char *orig); 15 extern void mr_asprintf(char **alloc, const char *fmt, ...); 16 /* 17 extern void mr_vasprintf(char **alloc, const char *fmt, va_list ap); 18 */ 20 extern void mr_asprintf(char **alloc, const char *fmt, va_list args); 19 21 extern void mr_getline(char **lineptr, size_t *n, FILE *stream); 20 22 extern void *mr_malloc(size_t size);
Note:
See TracChangeset
for help on using the changeset viewer.