source: git/omalloc/omAllocFunc.h @ 8208b79

fieker-DuValspielwiese
Last change on this file since 8208b79 was 8208b79, checked in by Hans Schönemann <hannes@…>, 23 years ago
*hannes: sgi-port git-svn-id: file:///usr/local/Singular/svn/trunk@5355 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 979 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.2 2001-04-05 10:30:39 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)
16void* memalign(size_t size_1, size_t size_2);
17#else
18void* memalign(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);
24
Note: See TracBrowser for help on using the repository browser.