source: git/omalloc/omAllocFunc.h @ ab5405c

spielwiese
Last change on this file since ab5405c was ab5405c, checked in by Hans Schönemann <hannes@…>, 19 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
RevLine 
[d83977]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
[ab5405c]8 *  Version: $Id: omAllocFunc.h,v 1.5 2005-07-28 18:26:15 Singular Exp $
[d83977]9 *******************************************************************/
10
11void* omCallocFunc(size_t nmemb, size_t size);
12void* omMallocFunc(size_t size);
13void omFreeFunc(void* addr);
14void* omVallocFunc(size_t size);
[ab5405c]15#if defined(sgi) || defined(SunOs_5)
[421b9f]16void* omMemalignFunc(size_t size_1, size_t size_2);
[8208b79]17#else
[421b9f]18void* omMemalignFunc(void* alignment, size_t size);
[8208b79]19#endif
[d83977]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.