2008-12-11 20:30:53 +00:00
|
|
|
/*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Creation Date: <2003/12/19 18:52:20 samuel>
|
|
|
|
|
* Time-stamp: <2003/12/19 18:52:21 samuel>
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* <stdlib.h>
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
|
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Copyright (C) 2003 Samuel Rydh (samuel@ibrium.se)
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* version 2
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _H_STDLIB
|
|
|
|
|
#define _H_STDLIB
|
|
|
|
|
|
|
|
|
|
extern void *malloc( int size );
|
|
|
|
|
extern void free( void *ptr );
|
|
|
|
|
extern void *realloc( void *ptr, size_t size );
|
2009-01-03 13:45:02 +00:00
|
|
|
extern int posix_memalign(void **memptr, size_t alignment, size_t size);
|
2006-04-26 15:08:19 +00:00
|
|
|
|
|
|
|
|
/* should perhaps go somewhere else... */
|
|
|
|
|
extern void qsort( void *base, size_t nmemb, size_t size, int (*compar)(const void*, const void*));
|
|
|
|
|
|
|
|
|
|
#endif /* _H_STDLIB */
|