Skip to content

aligrudi/neatlibc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEATLIBC
========

Neatlibc is a small C standard library, supporting x86, x86_64, and
32-bit ARM architectures.  Written mainly for bootstrapping neatcc,
neatlibc does not implement many of the C standard library functions.
Nonetheless, most of the programs available in its homepage
(http://litcave.rudi.ir/) can be compiled with neatcc and neatlibc.

To examine dynamic memory allocation in a program, you can define
MEMTST macro before including stdlib.h header (only implemented for
x86_64).  It should report failed allocations, bad free() calls, and
memory leaks.

LICENCE
=======

NEATLIBC C STANDARD LIBRARY

Copyright (C) 2010-2020 Ali Gholami Rudi <ali at rudi dot ir>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.