Move string.h functions into their own directory.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-06-12 13:35:22 +02:00
parent 138e279e62
commit 7a0beab011
35 changed files with 67 additions and 66 deletions

View File

@ -80,12 +80,6 @@ mbrtowc.o \
mbsrtowcs.o \
mbstowcs.o \
mbtowc.o \
memccpy.o \
memchr.o \
memcmp.o \
memcpy.o \
memmove.o \
memset.o \
op-new.o \
rewind.o \
setbuf.o \
@ -98,36 +92,42 @@ sigismember.o \
sort.o \
sprint.o \
sscanf.o \
stpcpy.o \
stpncpy.o \
strcasecmp.o \
strcat.o \
strchrnul.o \
strchr.o \
strcmp.o \
strcoll.o \
strcpy.o \
strcspn.o \
strdup.o \
strerror.o \
strlen.o \
strncasecmp.o \
strncat.o \
strncmp.o \
strncpy.o \
strndup.o \
strnlen.o \
strpbrk.o \
strrchr.o \
strsignal.o \
strspn.o \
strstr.o \
string/memccpy.o \
string/memchr.o \
string/memcmp.o \
string/memcpy.o \
string/memmove.o \
string/memset.o \
string/stpcpy.o \
string/stpncpy.o \
string/strcasecmp.o \
string/strcat.o \
string/strchrnul.o \
string/strchr.o \
string/strcmp.o \
string/strcoll.o \
string/strcpy.o \
string/strcspn.o \
string/strdup.o \
string/strerror.o \
string/strlen.o \
string/strncasecmp.o \
string/strncat.o \
string/strncmp.o \
string/strncpy.o \
string/strndup.o \
string/strnlen.o \
string/strpbrk.o \
string/strrchr.o \
string/strsignal.o \
string/strspn.o \
string/strstr.o \
string/strtok.o \
string/strtok_r.o \
string/strxfrm.o \
strtod.o \
strtof.o \
strtok.o \
strtok_r.o \
strtold.o \
strxfrm.o \
time/asctime.o \
time/asctime_r.o \
time/gmtime.o \

1
libc/sortix/string/.gitignore vendored Normal file
View File

@ -0,0 +1 @@

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memccpy.cpp
string/memccpy.cpp
Copy memory until length is met or character is encountered.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memchr.cpp
string/memchr.cpp
Scans memory for a character.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memcmp.cpp
string/memcmp.cpp
Compares two memory regions.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memcpy.cpp
string/memcpy.cpp
Copy memory between non-overlapping regions.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memmove.cpp
string/memmove.cpp
Copy memory between potentionally overlapping regions.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
memset.cpp
string/memset.cpp
Initializes a region of memory to a byte value.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
stpcpy.cpp
string/stpcpy.cpp
Copy a string returning a pointer to its end.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
stpncpy.cpp
string/stpncpy.cpp
Copies a string into a fixed size buffer and returns last byte.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strcasecmp.cpp
string/strcasecmp.cpp
Compares two strings ignoring case.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strcat.cpp
string/strcat.cpp
Appends a string onto another string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strchr.cpp
string/strchr.cpp
Searches a string for a specific character.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strchrnul.cpp
string/strchrnul.cpp
Searches a string for a specific character.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strcmp.cpp
string/strcmp.cpp
Compares two strings.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strcoll.cpp
string/strcoll.cpp
Compare two strings using the current locale.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strcpy.cpp
string/strcpy.cpp
Copies a string and returns dest.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strcspn.cpp
string/strcspn.cpp
Search a string for a set of characters.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strdup.cpp
string/strdup.cpp
Creates a copy of a string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strerror.cpp
string/strerror.cpp
Convert error code to a string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strlen.cpp
string/strlen.cpp
Returns the length of a string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strncasecmp.cpp
string/strncasecmp.cpp
Compares a prefix of two strings ignoring case.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strncat.cpp
string/strncat.cpp
Appends parts of a string onto another string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strncmp.cpp
string/strncmp.cpp
Compares a prefix of two strings.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strncpy.cpp
string/strncpy.cpp
Copies a string into a fixed size buffer and returns dest.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strndup.cpp
string/strndup.cpp
Creates a copy of a string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strnlen.cpp
string/strnlen.cpp
Returns the length of a fixed length string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strpbrk.cpp
string/strpbrk.cpp
Search a string for any of a set of characters.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strrchr.cpp
string/strrchr.cpp
Searches a string for a specific character.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strsignal.cpp
string/strsignal.cpp
Convert signal number to a string.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strspn.cpp
string/strspn.cpp
Search a string for a set of characters.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strstr.cpp
string/strstr.cpp
Locate a substring.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strtok.cpp
string/strtok.cpp
Extract tokens from strings.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strtok_r.cpp
string/strtok_r.cpp
Extract tokens from strings.
*******************************************************************************/

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU Lesser General Public License
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
strxfrm.cpp
string/strxfrm.cpp
Transform a string such that the result of strcmp is the same as strcoll.
*******************************************************************************/