Move string.h functions into their own directory.
This commit is contained in:
parent
138e279e62
commit
7a0beab011
|
@ -80,12 +80,6 @@ mbrtowc.o \
|
||||||
mbsrtowcs.o \
|
mbsrtowcs.o \
|
||||||
mbstowcs.o \
|
mbstowcs.o \
|
||||||
mbtowc.o \
|
mbtowc.o \
|
||||||
memccpy.o \
|
|
||||||
memchr.o \
|
|
||||||
memcmp.o \
|
|
||||||
memcpy.o \
|
|
||||||
memmove.o \
|
|
||||||
memset.o \
|
|
||||||
op-new.o \
|
op-new.o \
|
||||||
rewind.o \
|
rewind.o \
|
||||||
setbuf.o \
|
setbuf.o \
|
||||||
|
@ -98,36 +92,42 @@ sigismember.o \
|
||||||
sort.o \
|
sort.o \
|
||||||
sprint.o \
|
sprint.o \
|
||||||
sscanf.o \
|
sscanf.o \
|
||||||
stpcpy.o \
|
string/memccpy.o \
|
||||||
stpncpy.o \
|
string/memchr.o \
|
||||||
strcasecmp.o \
|
string/memcmp.o \
|
||||||
strcat.o \
|
string/memcpy.o \
|
||||||
strchrnul.o \
|
string/memmove.o \
|
||||||
strchr.o \
|
string/memset.o \
|
||||||
strcmp.o \
|
string/stpcpy.o \
|
||||||
strcoll.o \
|
string/stpncpy.o \
|
||||||
strcpy.o \
|
string/strcasecmp.o \
|
||||||
strcspn.o \
|
string/strcat.o \
|
||||||
strdup.o \
|
string/strchrnul.o \
|
||||||
strerror.o \
|
string/strchr.o \
|
||||||
strlen.o \
|
string/strcmp.o \
|
||||||
strncasecmp.o \
|
string/strcoll.o \
|
||||||
strncat.o \
|
string/strcpy.o \
|
||||||
strncmp.o \
|
string/strcspn.o \
|
||||||
strncpy.o \
|
string/strdup.o \
|
||||||
strndup.o \
|
string/strerror.o \
|
||||||
strnlen.o \
|
string/strlen.o \
|
||||||
strpbrk.o \
|
string/strncasecmp.o \
|
||||||
strrchr.o \
|
string/strncat.o \
|
||||||
strsignal.o \
|
string/strncmp.o \
|
||||||
strspn.o \
|
string/strncpy.o \
|
||||||
strstr.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 \
|
strtod.o \
|
||||||
strtof.o \
|
strtof.o \
|
||||||
strtok.o \
|
|
||||||
strtok_r.o \
|
|
||||||
strtold.o \
|
strtold.o \
|
||||||
strxfrm.o \
|
|
||||||
time/asctime.o \
|
time/asctime.o \
|
||||||
time/asctime_r.o \
|
time/asctime_r.o \
|
||||||
time/gmtime.o \
|
time/gmtime.o \
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copy memory until length is met or character is encountered.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
memchr.cpp
|
string/memchr.cpp
|
||||||
Scans memory for a character.
|
Scans memory for a character.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
memcmp.cpp
|
string/memcmp.cpp
|
||||||
Compares two memory regions.
|
Compares two memory regions.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copy memory between non-overlapping regions.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copy memory between potentionally overlapping regions.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Initializes a region of memory to a byte value.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copy a string returning a pointer to its end.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copies a string into a fixed size buffer and returns last byte.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
strcasecmp.cpp
|
string/strcasecmp.cpp
|
||||||
Compares two strings ignoring case.
|
Compares two strings ignoring case.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Appends a string onto another string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Searches a string for a specific character.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Searches a string for a specific character.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
strcmp.cpp
|
string/strcmp.cpp
|
||||||
Compares two strings.
|
Compares two strings.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Compare two strings using the current locale.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copies a string and returns dest.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Search a string for a set of characters.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Creates a copy of a string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Convert error code to a string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Returns the length of a string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Compares a prefix of two strings ignoring case.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Appends parts of a string onto another string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Compares a prefix of two strings.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Copies a string into a fixed size buffer and returns dest.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Creates a copy of a string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Returns the length of a fixed length string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Search a string for any of a set of characters.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Searches a string for a specific character.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Convert signal number to a string.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Search a string for a set of characters.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
strstr.cpp
|
string/strstr.cpp
|
||||||
Locate a substring.
|
Locate a substring.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
strtok.cpp
|
string/strtok.cpp
|
||||||
Extract tokens from strings.
|
Extract tokens from strings.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Extract tokens from strings.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
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/>.
|
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.
|
Transform a string such that the result of strcmp is the same as strcoll.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
Loading…
Reference in New Issue