4 Neatlibc is a small C standard library, supporting x86, x86_64, and
5 32-bit ARM architectures. Written mainly for bootstrapping neatcc,
6 neatlibc does not implement many of the C standard library functions.
7 Nonetheless, most of the programs available in its homepage
8 (http://litcave.rudi.ir/) can be compiled with neatcc and neatlibc.
10 To examine dynamic memory allocation in a program, you can define
11 MEMTST macro before including stdlib.h header (only implemented for
12 x86_64). It should report failed allocations, bad free() calls, and
18 NEATLIBC C STANDARD LIBRARY
20 Copyright (C) 2010-2020 Ali Gholami Rudi <ali at rudi dot ir>
22 Permission to use, copy, modify, and/or distribute this software for any
23 purpose with or without fee is hereby granted, provided that the above
24 copyright notice and this permission notice appear in all copies.
26 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
27 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
28 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
29 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
30 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
31 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
32 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.