1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Move stdlib.h functions into their own directory.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-06-24 23:52:59 +02:00
parent ab0177113f
commit 18356edb69
34 changed files with 65 additions and 65 deletions

View file

@ -17,22 +17,13 @@ CXXFLAGS=-std=gnu++11 -fno-exceptions -fno-rtti
ASFLAGS=
FREEOBJS=\
abort.o \
abs.o \
_assert.o \
atof.o \
atoi.o \
atoll.o \
atol.o \
bsearch.o \
calloc.o \
clearerr.o \
c++.o \
ctype.o \
dirent/alphasort.o \
dirent/dir.o \
dirent/versionsort.o \
div.o \
errno.o \
fabs.o \
fbufsize.o \
@ -72,13 +63,6 @@ fwrite.o \
fwriting.o \
getdelim.o \
getline.o \
heap.o \
integer.o \
ldiv.o \
lldiv.o \
mblen.o \
mbstowcs.o \
mbtowc.o \
op-new.o \
rewind.o \
setbuf.o \
@ -88,9 +72,30 @@ sigdelset.o \
sigemptyset.o \
sigfillset.o \
sigismember.o \
sort.o \
sprint.o \
sscanf.o \
stdlib/abort.o \
stdlib/abs.o \
stdlib/atof.o \
stdlib/atoi.o \
stdlib/atoll.o \
stdlib/atol.o \
stdlib/bsearch.o \
stdlib/calloc.o \
stdlib/div.o \
stdlib/heap.o \
stdlib/integer.o \
stdlib/ldiv.o \
stdlib/lldiv.o \
stdlib/mblen.o \
stdlib/mbstowcs.o \
stdlib/mbtowc.o \
stdlib/qsort.o \
stdlib/strtod.o \
stdlib/strtof.o \
stdlib/strtold.o \
stdlib/wcstombs.o \
stdlib/wctomb.o \
string/memccpy.o \
string/memchr.o \
string/memcmp.o \
@ -125,9 +130,6 @@ string/strtok.o \
string/strtok_r.o \
string/strverscmp.o \
string/strxfrm.o \
strtod.o \
strtof.o \
strtold.o \
time/asctime.o \
time/asctime_r.o \
time/gmtime.o \
@ -156,8 +158,6 @@ wchar/wcsrchr.o \
wchar/wcsrtombs.o \
wchar/wcsspn.o \
wchar/wcstok.o \
wcstombs.o \
wctomb.o \
wctype.o \
HOSTEDOBJS=\
@ -169,8 +169,6 @@ arpa/inet/inet_ntoa.o \
arpa/inet/inet_ntop.o \
arpa/inet/inet_pton.o \
calltrace.o \
canonicalize_file_name_at.o \
canonicalize_file_name.o \
chdir.o \
chmod.o \
chown.o \
@ -189,7 +187,6 @@ dispmsg_issue.o \
dlfcn.o \
dup2.o \
dup.o \
env.o \
errorprint.o \
execle.o \
execl.o \
@ -199,8 +196,6 @@ execv.o \
execvpe.o \
execvp.o \
_exit.o \
_Exit.o \
exit.o \
faccessat.o \
fchdirat.o \
fchdir.o \
@ -266,7 +261,6 @@ memstat.o \
mkdirat.o \
mkdir.o \
mkpartition.o \
mktemp.o \
netdb/endhostent.o \
netdb/endnetent.o \
netdb/endprotoent.o \
@ -289,7 +283,6 @@ netdb/sethostent.o \
netdb/setnetent.o \
netdb/setprotoent.o \
netdb/setservent.o \
on_exit.o \
openat.o \
open.o \
pathconf.o \
@ -304,13 +297,11 @@ putc.o \
pwent.o \
pwritev.o \
raise.o \
rand.o \
readdirents.o \
readlinkat.o \
readlink.o \
read.o \
readv.o \
realpath.o \
removeat.o \
remove.o \
renameat.o \
@ -336,6 +327,16 @@ sigprocmask.o \
sleep.o \
stat.o \
stdio.o \
stdlib/canonicalize_file_name_at.o \
stdlib/canonicalize_file_name.o \
stdlib/env.o \
stdlib/_Exit.o \
stdlib/exit.o \
stdlib/mktemp.o \
stdlib/on_exit.o \
stdlib/rand.o \
stdlib/realpath.o \
stdlib/system.o \
sysconf.o \
sys/socket/accept4.o \
sys/socket/accept.o \
@ -356,7 +357,6 @@ sys/socket/shutdown.o \
sys/socket/sockatmark.o \
sys/socket/socket.o \
sys/socket/socketpair.o \
system.o \
sys/time/gettimeofday.o \
tcgetpgrp.o \
tcgetwinsize.o \

0
libc/sortix/stdlib/.gitignore vendored Normal file
View file

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/>.
_Exit.cpp
stdlib/_Exit.cpp
Terminates the current process.
*******************************************************************************/

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/>.
abort.cpp
stdlib/abort.cpp
Abnormal process termination.
*******************************************************************************/

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/>.
abs.cpp
stdlib/abs.cpp
Allows taking the absolute value of integer types.
*******************************************************************************/

View file

@ -17,8 +17,8 @@
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/>.
atof.cpp
Converts floats represented as strings to binary representation.
stdlib/atof.cpp
Converts floating numbers represented as strings to binary representation.
*******************************************************************************/

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/>.
atoi.cpp
stdlib/atoi.cpp
Converts integers represented as strings to binary representation.
*******************************************************************************/

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/>.
atol.cpp
stdlib/atol.cpp
Converts integers represented as strings to binary representation.
*******************************************************************************/

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/>.
atoll.cpp
stdlib/atoll.cpp
Converts integers represented as strings to binary representation.
*******************************************************************************/

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/>.
bsearch.cpp
stdlib/bsearch.cpp
Binary search.
*******************************************************************************/

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/>.
calloc.cpp
stdlib/calloc.cpp
Allocates zeroed memory.
*******************************************************************************/

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/>.
canonicalize_file_name.cpp
stdlib/canonicalize_file_name.cpp
Return the canonicalized filename.
*******************************************************************************/

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/>.
canonicalize_file_name_at.cpp
stdlib/canonicalize_file_name_at.cpp
Return the canonicalized filename.
*******************************************************************************/

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/>.
div.cpp
stdlib/div.cpp
Compute quotient and remainder of integer division.
*******************************************************************************/

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/>.
env.cpp
stdlib/env.cpp
Environmental variables utilities.
*******************************************************************************/

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/>.
exit.cpp
stdlib/exit.cpp
Terminates the current process.
*******************************************************************************/

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/>.
heap.cpp
stdlib/heap.cpp
Functions that allocate/free memory from a dynamic memory heap.
*******************************************************************************/

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/>.
integer.cpp
stdlib/integer.cpp
Converts integers represented as strings to binary representation.
*******************************************************************************/

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/>.
ldiv.cpp
stdlib/ldiv.cpp
Compute quotient and remainder of integer division.
*******************************************************************************/

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/>.
lldiv.cpp
stdlib/lldiv.cpp
Compute quotient and remainder of integer division.
*******************************************************************************/

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/>.
mblen.cpp
stdlib/mblen.cpp
Determine number of bytes in next multibyte 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/>.
mbstowcs.cpp
stdlib/mbstowcs.cpp
Convert a multibyte string to a wide-character 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/>.
mbtowc.cpp
stdlib/mbtowc.cpp
Convert a multibyte sequence to a wide 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/>.
mktemp.cpp
stdlib/mktemp.cpp
Make a unique temporary filename.
*******************************************************************************/

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/>.
on_exit.cpp
stdlib/on_exit.cpp
Hooks that is called upon process exit.
*******************************************************************************/

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/>.
sort.cpp
stdlib/qsort.cpp
Utility functions related to sorting and sorted data.
*******************************************************************************/

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/>.
rand.cpp
stdlib/rand.cpp
Returns a random 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/>.
realpath.cpp
stdlib/realpath.cpp
Return the canonicalized filename.
*******************************************************************************/

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/>.
strtod.cpp
stdlib/strtod.cpp
Converts floating numbers represented as strings to binary representation.
*******************************************************************************/

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/>.
strtof.cpp
stdlib/strtof.cpp
Converts floating numbers represented as strings to binary representation.
*******************************************************************************/

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/>.
strtold.cpp
stdlib/strtold.cpp
Converts floating numbers represented as strings to binary representation.
*******************************************************************************/

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/>.
system.cpp
stdlib/system.cpp
Execute a shell command.
*******************************************************************************/

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/>.
wcstombs.cpp
stdlib/wcstombs.cpp
Convert a wide-character string to multibyte 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/>.
wctomb.cpp
stdlib/wctomb.cpp
Convert a wide character to a multibyte sequence.
*******************************************************************************/