]> pd.if.org Git - pdclib/commit - includes/errno.h
* Change the style of inclusion of the internal/ headers. Modern preprocessors
authorOwen Shepherd <owen.shepherd@e43.eu>
Thu, 2 Aug 2012 20:48:01 +0000 (21:48 +0100)
committerOwen Shepherd <owen.shepherd@e43.eu>
Thu, 2 Aug 2012 20:48:01 +0000 (21:48 +0100)
commitb41576197133c1211d6ec353faf93f505f573b8a
tree641dc0e99d52ec449956a73da7d1e1d17f5118f0
parent93ca2d813f86c52bb9bece81ca564d4831bff9e5
* Change the style of inclusion of the internal/ headers. Modern preprocessors
  all detect the header guards and know not to include anyhow. The old style may
  have actually been counterproductive
* Make the built library be standard independent (i.e. the library build is
  independent of _PDCLIB_C_VERSION/__STDC_VERSION__/_PDCLIB_CXX_VERSION
  /__cplusplus.
* <threads.h> from C11. A bit off of the track of C99 support (which is still a
  higher priority goal), but solid implementation of many C99 functions on many
  real platforms will need proper thread support. <stdio.h> support to come.
  This is a stub implementation.
* Move malloc/free/realloc etc to opt/malloc-solar, in preparation for support
  of other memory allocators. On the cards are at least ptmalloc3 (BSD) and
  dlmalloc (public domain) as options.
* New build system (See CoreMakefile.mk). Not ready yet; but its coming. This
  doesn't change the project dependencies - you still only need GNU make.

This is a large bundle of changes - most of them are as a result of implementing
PDClib into my system, so they're mostly "changes I was doing" that have got
wrapped up together. Hopefully, now that things are together, future changesets
should be better factored.

Special thanks go to Martin "Solar" Baute for the work he has put in on this
code over many years.
55 files changed:
CoreMakefile.mk [new file with mode: 0644]
Readme.Legacy.txt [new file with mode: 0644]
Readme.txt
functions/_PDCLIB/assert.c
functions/_PDCLIB/atomax.c
functions/_PDCLIB/digits.c
functions/_PDCLIB/errno.c
functions/_PDCLIB/prepread.c
functions/_PDCLIB/stdarg.c
functions/_PDCLIB/strtox_main.c
functions/stdio/fgets.c
functions/stdio/fwrite.c
functions/stdio/gets.c
functions/string/strdup.c [new file with mode: 0644]
includes/assert.h
includes/ctype.h
includes/errno.h
includes/inttypes.h
includes/iso646.h
includes/limits.h
includes/locale.h
includes/stdarg.h
includes/stdbool.h
includes/stddef.h
includes/stdint.h
includes/stdio.h
includes/stdlib.h
includes/stdnoreturn.h [new file with mode: 0644]
includes/string.h
includes/threads.h [new file with mode: 0644]
includes/time.h [new file with mode: 0644]
internals/_PDCLIB_aux.h
internals/_PDCLIB_glue.h
internals/_PDCLIB_int.h
opt/malloc-solar/calloc.c [new file with mode: 0644]
opt/malloc-solar/free.c [new file with mode: 0644]
opt/malloc-solar/malloc.c [new file with mode: 0644]
opt/malloc-solar/realloc.c [new file with mode: 0644]
opt/nothread/_PDCLIB_threadconfig.h [new file with mode: 0644]
opt/nothread/call_once.c [new file with mode: 0644]
opt/nothread/cnd_init.c [new file with mode: 0644]
opt/nothread/cnd_signal.c [new file with mode: 0644]
opt/nothread/cnd_wait.c [new file with mode: 0644]
opt/nothread/config.mk [new file with mode: 0644]
opt/nothread/mtx_destroy.c [new file with mode: 0644]
opt/nothread/mtx_init.c [new file with mode: 0644]
opt/nothread/mtx_lock.c [new file with mode: 0644]
opt/nothread/mtx_timedlock.c [new file with mode: 0644]
opt/nothread/mtx_trylock.c [new file with mode: 0644]
opt/nothread/mtx_unlock.c [new file with mode: 0644]
opt/nothread/thrd_yield.c [new file with mode: 0644]
opt/nothread/tss_create.c [new file with mode: 0644]
opt/nothread/tss_delete.c [new file with mode: 0644]
opt/nothread/tss_get.c [new file with mode: 0644]
opt/nothread/tss_set.c [new file with mode: 0644]