Commit graph

10 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
550f9db140 Make string.h include strings.h.
This helps gcc build since it assumes that string.h provides various
functions that POSIX mandates is in strings.h. This is OK with me since that
strings.h is a nasty hack anyways. Also, glibc does this.
2012-09-08 18:45:52 +02:00
Jonas 'Sortie' Termansen
87b81080d5 Added sortix_strerror(3) which replaces strerror(3).
The string returned is now const - POSIX did not allow modifying the string
in any case, conforming applications should not break. If _SORTIX_SOURCE is
defined strerror(3) automatically redirects to sortix_strerror(3),
otherwise the application will receive the traditional function.
2012-05-27 17:38:00 +02:00
Jonas 'Sortie' Termansen
bdd8b2a77a Added strnlen(3). 2012-03-10 23:04:49 +01:00
Jonas 'Sortie' Termansen
6695da9229 Added strncat(3). 2012-03-04 18:12:54 +01:00
Jonas 'Sortie' Termansen
38f27a45fc Added strpbrk(3). 2012-03-04 17:44:24 +01:00
Jonas 'Sortie' Termansen
5d826ec284 Added strstr(3). 2012-03-04 17:20:42 +01:00
Jonas 'Sortie' Termansen
6c6e1091a1 Added memmove(3). 2012-03-04 17:10:52 +01:00
Jonas 'Sortie' Termansen
a52200f4a7 Added strncpy(3).
This function is stupid.
2012-03-04 17:00:59 +01:00
Jonas 'Sortie' Termansen
90ea0d3e64 Added strdup(3) to <string.h>. 2012-03-04 16:54:53 +01:00
Jonas 'Sortie' Termansen
fec176fa15 Refactored the libmaxsi/ directory.
C and C++ files are now kept together and so are the mxmpp declarations.

Header files are now stored in include/ and mxmpp'd into preproc/.

All other code now -I ../libmaxsi/preproc.

And other stuff to make this happen, including refactoring Makefile.
2012-02-12 13:20:53 +01:00
Renamed from libmaxsi/c/hsrc/string.h (Browse further)