source: git/omalloc/omAllocFunc.h @ ab5405c

jengelh-datetimespielwiese
Last change on this file since ab5405c was ab5405c, checked in by Hans Schönemann <hannes@…>, 18 years ago
*hannes: solaris port git-svn-id: file:///usr/local/Singular/svn/trunk@8475 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1010 bytes
Line 
1/*******************************************************************
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:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
7 *  Created: 11/99
8 *  Version: $Id: omAllocFunc.h,v 1.5 2005-07-28 18:26:15 Singular Exp $
9 *******************************************************************/
10
11void* omCallocFunc(size_t nmemb, size_t size);
12void* omMallocFunc(size_t size);
13void omFreeFunc(void* addr);
14void* omVallocFunc(size_t size);
15#if defined(sgi) || defined(SunOs_5)
16void* omMemalignFunc(size_t size_1, size_t size_2);
17#else
18void* omMemalignFunc(void* alignment, size_t size);
19#endif
20void* omReallocFunc(void* old_addr, size_t new_size);
21char* omStrdupFunc(const char* addr);
22void* omReallocSizeFunc(void* old_addr, size_t old_size, size_t new_size);
23void omFreeSizeFunc(void* addr, size_t size);
Note: See TracBrowser for help on using the repository browser.