| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | estdlib.c |
/*********************************************************************/
/* */
/* This Program Written by Paul Edwards, 3:711/934{at}fidonet. */
/* Released to the Public Domain */
/* Written Jan 1994 */
/* */
/*********************************************************************/
/*********************************************************************/
/* */
/* estdlib.c - stdlib replacement functions */
/* */
/* Refer to estdlib.h for documentation. */
/* */
/*********************************************************************/
#include
#include "error.h"
#include "estdlib.h"
void *emalloc(size_t sz)
{
void *ptr;
ptr = malloc(sz);
if ((ptr == NULL) && (sz != 0))
{
errorSet(ERROR_MEMORY, (unsigned long)sz);
}
return (ptr);
}
void efree(void *buf)
{
free(buf);
return;
}
@EOT:
---
* Origin: X (3:711/934.9) |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.