source: git/omalloc/omAllocFunc.h @ 45e70f

Last change on this file since 45e70f was 45e70f, checked in by Hans Schönemann <hannes@…>, 18 years ago
*hannes: solaris(__sparc) port git-svn-id: file:///usr/local/Singular/svn/trunk@8479 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.0 KB
2 *  File:    omAllocFunc.h
3 *  Purpose: declaration of ANSI-C conforming malloc functions
4 *           which are sure to be functions, which start with the om prefix,
5 *           and end with the Func suffix.
6 *  Author: (Olaf Bachmann)
7 *  Created: 11/99
[45e70f]8 *  Version: $Id: omAllocFunc.h,v 1.6 2005-07-29 10:56:45 Singular Exp $
[d83977]9 *******************************************************************/
11void* omCallocFunc(size_t nmemb, size_t size);
12void* omMallocFunc(size_t size);
13void omFreeFunc(void* addr);
14void* omVallocFunc(size_t size);
[45e70f]15#if defined(sgi)
[421b9f]16void* omMemalignFunc(size_t size_1, size_t size_2);
[45e70f]18#if  defined(__sparc)
19extern void* omMemalignFunc(size_t, size_t);
[421b9f]21void* omMemalignFunc(void* alignment, size_t size);
[d83977]24void* omReallocFunc(void* old_addr, size_t new_size);
25char* omStrdupFunc(const char* addr);
26void* omReallocSizeFunc(void* old_addr, size_t old_size, size_t new_size);
27void omFreeSizeFunc(void* addr, size_t size);
Note: See TracBrowser for help on using the repository browser.