TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: All
from: Paul Edwards
date: 1995-06-26 17:03:12
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™.