Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 1.06 KB
* File: omAllocFunc.h
* Purpose: declaration of ANSI-C conforming malloc functions
* which are sure to be functions, which start with the om prefix,
* and end with the Func suffix.
* Author: (Olaf Bachmann)
* Created: 11/99
void* omCallocFunc(size_t nmemb, size_t size);
void* omMallocFunc(size_t size);
void omFreeFunc(void* addr);
void* omVallocFunc(size_t size);
#if defined(sgi)
void* omMemalignFunc(size_t size_1, size_t size_2);
#if (defined(__sun) && (defined(__sparc) || defined(__i386) || defined(__x86_64)) || defined(__CYGWIN__))
extern void* omMemalignFunc(size_t, size_t);
void* omMemalignFunc(void* alignment, size_t size);
void* omReallocFunc(void* old_addr, size_t new_size);
char* omStrdupFunc(const char* addr);
void* omReallocSizeFunc(void* old_addr, size_t old_size, size_t new_size);
void omFreeSizeFunc(void* addr, size_t size);
Something went wrong with that request. Please try again.