diff --git a/lib/Kconfig b/libc/Kconfig similarity index 100% rename from lib/Kconfig rename to libc/Kconfig diff --git a/lib/Makefile b/libc/Makefile similarity index 100% rename from lib/Makefile rename to libc/Makefile diff --git a/lib/README.txt b/libc/README.txt similarity index 100% rename from lib/README.txt rename to libc/README.txt diff --git a/lib/dirent/Make.defs b/libc/dirent/Make.defs similarity index 100% rename from lib/dirent/Make.defs rename to libc/dirent/Make.defs diff --git a/lib/dirent/lib_readdirr.c b/libc/dirent/lib_readdirr.c similarity index 100% rename from lib/dirent/lib_readdirr.c rename to libc/dirent/lib_readdirr.c diff --git a/lib/dirent/lib_telldir.c b/libc/dirent/lib_telldir.c similarity index 100% rename from lib/dirent/lib_telldir.c rename to libc/dirent/lib_telldir.c diff --git a/lib/fixedmath/Make.defs b/libc/fixedmath/Make.defs similarity index 100% rename from lib/fixedmath/Make.defs rename to libc/fixedmath/Make.defs diff --git a/lib/fixedmath/lib_b16atan2.c b/libc/fixedmath/lib_b16atan2.c similarity index 100% rename from lib/fixedmath/lib_b16atan2.c rename to libc/fixedmath/lib_b16atan2.c diff --git a/lib/fixedmath/lib_b16cos.c b/libc/fixedmath/lib_b16cos.c similarity index 100% rename from lib/fixedmath/lib_b16cos.c rename to libc/fixedmath/lib_b16cos.c diff --git a/lib/fixedmath/lib_b16sin.c b/libc/fixedmath/lib_b16sin.c similarity index 100% rename from lib/fixedmath/lib_b16sin.c rename to libc/fixedmath/lib_b16sin.c diff --git a/lib/fixedmath/lib_fixedmath.c b/libc/fixedmath/lib_fixedmath.c similarity index 100% rename from lib/fixedmath/lib_fixedmath.c rename to libc/fixedmath/lib_fixedmath.c diff --git a/lib/fixedmath/lib_rint.c b/libc/fixedmath/lib_rint.c similarity index 100% rename from lib/fixedmath/lib_rint.c rename to libc/fixedmath/lib_rint.c diff --git a/lib/lib.csv b/libc/lib.csv similarity index 100% rename from lib/lib.csv rename to libc/lib.csv diff --git a/lib/lib_internal.h b/libc/lib_internal.h similarity index 100% rename from lib/lib_internal.h rename to libc/lib_internal.h diff --git a/lib/libgen/Make.defs b/libc/libgen/Make.defs similarity index 100% rename from lib/libgen/Make.defs rename to libc/libgen/Make.defs diff --git a/lib/libgen/lib_basename.c b/libc/libgen/lib_basename.c similarity index 100% rename from lib/libgen/lib_basename.c rename to libc/libgen/lib_basename.c diff --git a/lib/libgen/lib_dirname.c b/libc/libgen/lib_dirname.c similarity index 100% rename from lib/libgen/lib_dirname.c rename to libc/libgen/lib_dirname.c diff --git a/lib/math/Kconfig b/libc/math/Kconfig similarity index 100% rename from lib/math/Kconfig rename to libc/math/Kconfig diff --git a/lib/math/Make.defs b/libc/math/Make.defs similarity index 100% rename from lib/math/Make.defs rename to libc/math/Make.defs diff --git a/lib/math/lib_acos.c b/libc/math/lib_acos.c similarity index 100% rename from lib/math/lib_acos.c rename to libc/math/lib_acos.c diff --git a/lib/math/lib_acosf.c b/libc/math/lib_acosf.c similarity index 100% rename from lib/math/lib_acosf.c rename to libc/math/lib_acosf.c diff --git a/lib/math/lib_acosl.c b/libc/math/lib_acosl.c similarity index 100% rename from lib/math/lib_acosl.c rename to libc/math/lib_acosl.c diff --git a/lib/math/lib_asin.c b/libc/math/lib_asin.c similarity index 100% rename from lib/math/lib_asin.c rename to libc/math/lib_asin.c diff --git a/lib/math/lib_asinf.c b/libc/math/lib_asinf.c similarity index 100% rename from lib/math/lib_asinf.c rename to libc/math/lib_asinf.c diff --git a/lib/math/lib_asinl.c b/libc/math/lib_asinl.c similarity index 100% rename from lib/math/lib_asinl.c rename to libc/math/lib_asinl.c diff --git a/lib/math/lib_atan.c b/libc/math/lib_atan.c similarity index 100% rename from lib/math/lib_atan.c rename to libc/math/lib_atan.c diff --git a/lib/math/lib_atan2.c b/libc/math/lib_atan2.c similarity index 100% rename from lib/math/lib_atan2.c rename to libc/math/lib_atan2.c diff --git a/lib/math/lib_atan2f.c b/libc/math/lib_atan2f.c similarity index 100% rename from lib/math/lib_atan2f.c rename to libc/math/lib_atan2f.c diff --git a/lib/math/lib_atan2l.c b/libc/math/lib_atan2l.c similarity index 100% rename from lib/math/lib_atan2l.c rename to libc/math/lib_atan2l.c diff --git a/lib/math/lib_atanf.c b/libc/math/lib_atanf.c similarity index 100% rename from lib/math/lib_atanf.c rename to libc/math/lib_atanf.c diff --git a/lib/math/lib_atanl.c b/libc/math/lib_atanl.c similarity index 100% rename from lib/math/lib_atanl.c rename to libc/math/lib_atanl.c diff --git a/lib/math/lib_ceil.c b/libc/math/lib_ceil.c similarity index 100% rename from lib/math/lib_ceil.c rename to libc/math/lib_ceil.c diff --git a/lib/math/lib_ceilf.c b/libc/math/lib_ceilf.c similarity index 100% rename from lib/math/lib_ceilf.c rename to libc/math/lib_ceilf.c diff --git a/lib/math/lib_ceill.c b/libc/math/lib_ceill.c similarity index 100% rename from lib/math/lib_ceill.c rename to libc/math/lib_ceill.c diff --git a/lib/math/lib_cos.c b/libc/math/lib_cos.c similarity index 100% rename from lib/math/lib_cos.c rename to libc/math/lib_cos.c diff --git a/lib/math/lib_cosf.c b/libc/math/lib_cosf.c similarity index 100% rename from lib/math/lib_cosf.c rename to libc/math/lib_cosf.c diff --git a/lib/math/lib_cosh.c b/libc/math/lib_cosh.c similarity index 100% rename from lib/math/lib_cosh.c rename to libc/math/lib_cosh.c diff --git a/lib/math/lib_coshf.c b/libc/math/lib_coshf.c similarity index 100% rename from lib/math/lib_coshf.c rename to libc/math/lib_coshf.c diff --git a/lib/math/lib_coshl.c b/libc/math/lib_coshl.c similarity index 100% rename from lib/math/lib_coshl.c rename to libc/math/lib_coshl.c diff --git a/lib/math/lib_cosl.c b/libc/math/lib_cosl.c similarity index 100% rename from lib/math/lib_cosl.c rename to libc/math/lib_cosl.c diff --git a/lib/math/lib_exp.c b/libc/math/lib_exp.c similarity index 100% rename from lib/math/lib_exp.c rename to libc/math/lib_exp.c diff --git a/lib/math/lib_expf.c b/libc/math/lib_expf.c similarity index 100% rename from lib/math/lib_expf.c rename to libc/math/lib_expf.c diff --git a/lib/math/lib_expl.c b/libc/math/lib_expl.c similarity index 100% rename from lib/math/lib_expl.c rename to libc/math/lib_expl.c diff --git a/lib/math/lib_fabs.c b/libc/math/lib_fabs.c similarity index 100% rename from lib/math/lib_fabs.c rename to libc/math/lib_fabs.c diff --git a/lib/math/lib_fabsf.c b/libc/math/lib_fabsf.c similarity index 100% rename from lib/math/lib_fabsf.c rename to libc/math/lib_fabsf.c diff --git a/lib/math/lib_fabsl.c b/libc/math/lib_fabsl.c similarity index 100% rename from lib/math/lib_fabsl.c rename to libc/math/lib_fabsl.c diff --git a/lib/math/lib_floor.c b/libc/math/lib_floor.c similarity index 100% rename from lib/math/lib_floor.c rename to libc/math/lib_floor.c diff --git a/lib/math/lib_floorf.c b/libc/math/lib_floorf.c similarity index 100% rename from lib/math/lib_floorf.c rename to libc/math/lib_floorf.c diff --git a/lib/math/lib_floorl.c b/libc/math/lib_floorl.c similarity index 100% rename from lib/math/lib_floorl.c rename to libc/math/lib_floorl.c diff --git a/lib/math/lib_fmod.c b/libc/math/lib_fmod.c similarity index 100% rename from lib/math/lib_fmod.c rename to libc/math/lib_fmod.c diff --git a/lib/math/lib_fmodf.c b/libc/math/lib_fmodf.c similarity index 100% rename from lib/math/lib_fmodf.c rename to libc/math/lib_fmodf.c diff --git a/lib/math/lib_fmodl.c b/libc/math/lib_fmodl.c similarity index 100% rename from lib/math/lib_fmodl.c rename to libc/math/lib_fmodl.c diff --git a/lib/math/lib_frexp.c b/libc/math/lib_frexp.c similarity index 100% rename from lib/math/lib_frexp.c rename to libc/math/lib_frexp.c diff --git a/lib/math/lib_frexpf.c b/libc/math/lib_frexpf.c similarity index 100% rename from lib/math/lib_frexpf.c rename to libc/math/lib_frexpf.c diff --git a/lib/math/lib_frexpl.c b/libc/math/lib_frexpl.c similarity index 100% rename from lib/math/lib_frexpl.c rename to libc/math/lib_frexpl.c diff --git a/lib/math/lib_ldexp.c b/libc/math/lib_ldexp.c similarity index 100% rename from lib/math/lib_ldexp.c rename to libc/math/lib_ldexp.c diff --git a/lib/math/lib_ldexpf.c b/libc/math/lib_ldexpf.c similarity index 100% rename from lib/math/lib_ldexpf.c rename to libc/math/lib_ldexpf.c diff --git a/lib/math/lib_ldexpl.c b/libc/math/lib_ldexpl.c similarity index 100% rename from lib/math/lib_ldexpl.c rename to libc/math/lib_ldexpl.c diff --git a/lib/math/lib_libexpi.c b/libc/math/lib_libexpi.c similarity index 100% rename from lib/math/lib_libexpi.c rename to libc/math/lib_libexpi.c diff --git a/lib/math/lib_libsqrtapprox.c b/libc/math/lib_libsqrtapprox.c similarity index 100% rename from lib/math/lib_libsqrtapprox.c rename to libc/math/lib_libsqrtapprox.c diff --git a/lib/math/lib_log.c b/libc/math/lib_log.c similarity index 100% rename from lib/math/lib_log.c rename to libc/math/lib_log.c diff --git a/lib/math/lib_log10.c b/libc/math/lib_log10.c similarity index 100% rename from lib/math/lib_log10.c rename to libc/math/lib_log10.c diff --git a/lib/math/lib_log10f.c b/libc/math/lib_log10f.c similarity index 100% rename from lib/math/lib_log10f.c rename to libc/math/lib_log10f.c diff --git a/lib/math/lib_log10l.c b/libc/math/lib_log10l.c similarity index 100% rename from lib/math/lib_log10l.c rename to libc/math/lib_log10l.c diff --git a/lib/math/lib_log2.c b/libc/math/lib_log2.c similarity index 100% rename from lib/math/lib_log2.c rename to libc/math/lib_log2.c diff --git a/lib/math/lib_log2f.c b/libc/math/lib_log2f.c similarity index 100% rename from lib/math/lib_log2f.c rename to libc/math/lib_log2f.c diff --git a/lib/math/lib_log2l.c b/libc/math/lib_log2l.c similarity index 100% rename from lib/math/lib_log2l.c rename to libc/math/lib_log2l.c diff --git a/lib/math/lib_logf.c b/libc/math/lib_logf.c similarity index 100% rename from lib/math/lib_logf.c rename to libc/math/lib_logf.c diff --git a/lib/math/lib_logl.c b/libc/math/lib_logl.c similarity index 100% rename from lib/math/lib_logl.c rename to libc/math/lib_logl.c diff --git a/lib/math/lib_modf.c b/libc/math/lib_modf.c similarity index 100% rename from lib/math/lib_modf.c rename to libc/math/lib_modf.c diff --git a/lib/math/lib_modff.c b/libc/math/lib_modff.c similarity index 100% rename from lib/math/lib_modff.c rename to libc/math/lib_modff.c diff --git a/lib/math/lib_modfl.c b/libc/math/lib_modfl.c similarity index 100% rename from lib/math/lib_modfl.c rename to libc/math/lib_modfl.c diff --git a/lib/math/lib_pow.c b/libc/math/lib_pow.c similarity index 100% rename from lib/math/lib_pow.c rename to libc/math/lib_pow.c diff --git a/lib/math/lib_powf.c b/libc/math/lib_powf.c similarity index 100% rename from lib/math/lib_powf.c rename to libc/math/lib_powf.c diff --git a/lib/math/lib_powl.c b/libc/math/lib_powl.c similarity index 100% rename from lib/math/lib_powl.c rename to libc/math/lib_powl.c diff --git a/lib/math/lib_sin.c b/libc/math/lib_sin.c similarity index 100% rename from lib/math/lib_sin.c rename to libc/math/lib_sin.c diff --git a/lib/math/lib_sinf.c b/libc/math/lib_sinf.c similarity index 100% rename from lib/math/lib_sinf.c rename to libc/math/lib_sinf.c diff --git a/lib/math/lib_sinh.c b/libc/math/lib_sinh.c similarity index 100% rename from lib/math/lib_sinh.c rename to libc/math/lib_sinh.c diff --git a/lib/math/lib_sinhf.c b/libc/math/lib_sinhf.c similarity index 100% rename from lib/math/lib_sinhf.c rename to libc/math/lib_sinhf.c diff --git a/lib/math/lib_sinhl.c b/libc/math/lib_sinhl.c similarity index 100% rename from lib/math/lib_sinhl.c rename to libc/math/lib_sinhl.c diff --git a/lib/math/lib_sinl.c b/libc/math/lib_sinl.c similarity index 100% rename from lib/math/lib_sinl.c rename to libc/math/lib_sinl.c diff --git a/lib/math/lib_sqrt.c b/libc/math/lib_sqrt.c similarity index 100% rename from lib/math/lib_sqrt.c rename to libc/math/lib_sqrt.c diff --git a/lib/math/lib_sqrtf.c b/libc/math/lib_sqrtf.c similarity index 100% rename from lib/math/lib_sqrtf.c rename to libc/math/lib_sqrtf.c diff --git a/lib/math/lib_sqrtl.c b/libc/math/lib_sqrtl.c similarity index 100% rename from lib/math/lib_sqrtl.c rename to libc/math/lib_sqrtl.c diff --git a/lib/math/lib_tan.c b/libc/math/lib_tan.c similarity index 100% rename from lib/math/lib_tan.c rename to libc/math/lib_tan.c diff --git a/lib/math/lib_tanf.c b/libc/math/lib_tanf.c similarity index 100% rename from lib/math/lib_tanf.c rename to libc/math/lib_tanf.c diff --git a/lib/math/lib_tanh.c b/libc/math/lib_tanh.c similarity index 100% rename from lib/math/lib_tanh.c rename to libc/math/lib_tanh.c diff --git a/lib/math/lib_tanhf.c b/libc/math/lib_tanhf.c similarity index 100% rename from lib/math/lib_tanhf.c rename to libc/math/lib_tanhf.c diff --git a/lib/math/lib_tanhl.c b/libc/math/lib_tanhl.c similarity index 100% rename from lib/math/lib_tanhl.c rename to libc/math/lib_tanhl.c diff --git a/lib/math/lib_tanl.c b/libc/math/lib_tanl.c similarity index 100% rename from lib/math/lib_tanl.c rename to libc/math/lib_tanl.c diff --git a/lib/misc/Make.defs b/libc/misc/Make.defs similarity index 100% rename from lib/misc/Make.defs rename to libc/misc/Make.defs diff --git a/lib/misc/lib_crc32.c b/libc/misc/lib_crc32.c similarity index 100% rename from lib/misc/lib_crc32.c rename to libc/misc/lib_crc32.c diff --git a/lib/misc/lib_dbg.c b/libc/misc/lib_dbg.c similarity index 100% rename from lib/misc/lib_dbg.c rename to libc/misc/lib_dbg.c diff --git a/lib/misc/lib_dumpbuffer.c b/libc/misc/lib_dumpbuffer.c similarity index 100% rename from lib/misc/lib_dumpbuffer.c rename to libc/misc/lib_dumpbuffer.c diff --git a/lib/misc/lib_filesem.c b/libc/misc/lib_filesem.c similarity index 100% rename from lib/misc/lib_filesem.c rename to libc/misc/lib_filesem.c diff --git a/lib/misc/lib_init.c b/libc/misc/lib_init.c similarity index 100% rename from lib/misc/lib_init.c rename to libc/misc/lib_init.c diff --git a/lib/misc/lib_match.c b/libc/misc/lib_match.c similarity index 100% rename from lib/misc/lib_match.c rename to libc/misc/lib_match.c diff --git a/lib/misc/lib_sendfile.c b/libc/misc/lib_sendfile.c similarity index 100% rename from lib/misc/lib_sendfile.c rename to libc/misc/lib_sendfile.c diff --git a/lib/misc/lib_streamsem.c b/libc/misc/lib_streamsem.c similarity index 100% rename from lib/misc/lib_streamsem.c rename to libc/misc/lib_streamsem.c diff --git a/lib/mqueue/Make.defs b/libc/mqueue/Make.defs similarity index 100% rename from lib/mqueue/Make.defs rename to libc/mqueue/Make.defs diff --git a/lib/mqueue/mq_getattr.c b/libc/mqueue/mq_getattr.c similarity index 100% rename from lib/mqueue/mq_getattr.c rename to libc/mqueue/mq_getattr.c diff --git a/lib/mqueue/mq_setattr.c b/libc/mqueue/mq_setattr.c similarity index 100% rename from lib/mqueue/mq_setattr.c rename to libc/mqueue/mq_setattr.c diff --git a/lib/net/Make.defs b/libc/net/Make.defs similarity index 100% rename from lib/net/Make.defs rename to libc/net/Make.defs diff --git a/lib/net/lib_etherntoa.c b/libc/net/lib_etherntoa.c similarity index 100% rename from lib/net/lib_etherntoa.c rename to libc/net/lib_etherntoa.c diff --git a/lib/net/lib_htonl.c b/libc/net/lib_htonl.c similarity index 100% rename from lib/net/lib_htonl.c rename to libc/net/lib_htonl.c diff --git a/lib/net/lib_htons.c b/libc/net/lib_htons.c similarity index 100% rename from lib/net/lib_htons.c rename to libc/net/lib_htons.c diff --git a/lib/net/lib_inetaddr.c b/libc/net/lib_inetaddr.c similarity index 100% rename from lib/net/lib_inetaddr.c rename to libc/net/lib_inetaddr.c diff --git a/lib/net/lib_inetntoa.c b/libc/net/lib_inetntoa.c similarity index 100% rename from lib/net/lib_inetntoa.c rename to libc/net/lib_inetntoa.c diff --git a/lib/net/lib_inetntop.c b/libc/net/lib_inetntop.c similarity index 100% rename from lib/net/lib_inetntop.c rename to libc/net/lib_inetntop.c diff --git a/lib/net/lib_inetpton.c b/libc/net/lib_inetpton.c similarity index 100% rename from lib/net/lib_inetpton.c rename to libc/net/lib_inetpton.c diff --git a/lib/pthread/Make.defs b/libc/pthread/Make.defs similarity index 100% rename from lib/pthread/Make.defs rename to libc/pthread/Make.defs diff --git a/lib/pthread/pthread_attrdestroy.c b/libc/pthread/pthread_attrdestroy.c similarity index 100% rename from lib/pthread/pthread_attrdestroy.c rename to libc/pthread/pthread_attrdestroy.c diff --git a/lib/pthread/pthread_attrgetinheritsched.c b/libc/pthread/pthread_attrgetinheritsched.c similarity index 100% rename from lib/pthread/pthread_attrgetinheritsched.c rename to libc/pthread/pthread_attrgetinheritsched.c diff --git a/lib/pthread/pthread_attrgetschedparam.c b/libc/pthread/pthread_attrgetschedparam.c similarity index 100% rename from lib/pthread/pthread_attrgetschedparam.c rename to libc/pthread/pthread_attrgetschedparam.c diff --git a/lib/pthread/pthread_attrgetschedpolicy.c b/libc/pthread/pthread_attrgetschedpolicy.c similarity index 100% rename from lib/pthread/pthread_attrgetschedpolicy.c rename to libc/pthread/pthread_attrgetschedpolicy.c diff --git a/lib/pthread/pthread_attrgetstacksize.c b/libc/pthread/pthread_attrgetstacksize.c similarity index 100% rename from lib/pthread/pthread_attrgetstacksize.c rename to libc/pthread/pthread_attrgetstacksize.c diff --git a/lib/pthread/pthread_attrinit.c b/libc/pthread/pthread_attrinit.c similarity index 100% rename from lib/pthread/pthread_attrinit.c rename to libc/pthread/pthread_attrinit.c diff --git a/lib/pthread/pthread_attrsetinheritsched.c b/libc/pthread/pthread_attrsetinheritsched.c similarity index 100% rename from lib/pthread/pthread_attrsetinheritsched.c rename to libc/pthread/pthread_attrsetinheritsched.c diff --git a/lib/pthread/pthread_attrsetschedparam.c b/libc/pthread/pthread_attrsetschedparam.c similarity index 100% rename from lib/pthread/pthread_attrsetschedparam.c rename to libc/pthread/pthread_attrsetschedparam.c diff --git a/lib/pthread/pthread_attrsetschedpolicy.c b/libc/pthread/pthread_attrsetschedpolicy.c similarity index 100% rename from lib/pthread/pthread_attrsetschedpolicy.c rename to libc/pthread/pthread_attrsetschedpolicy.c diff --git a/lib/pthread/pthread_attrsetstacksize.c b/libc/pthread/pthread_attrsetstacksize.c similarity index 100% rename from lib/pthread/pthread_attrsetstacksize.c rename to libc/pthread/pthread_attrsetstacksize.c diff --git a/lib/pthread/pthread_barrierattrdestroy.c b/libc/pthread/pthread_barrierattrdestroy.c similarity index 100% rename from lib/pthread/pthread_barrierattrdestroy.c rename to libc/pthread/pthread_barrierattrdestroy.c diff --git a/lib/pthread/pthread_barrierattrgetpshared.c b/libc/pthread/pthread_barrierattrgetpshared.c similarity index 100% rename from lib/pthread/pthread_barrierattrgetpshared.c rename to libc/pthread/pthread_barrierattrgetpshared.c diff --git a/lib/pthread/pthread_barrierattrinit.c b/libc/pthread/pthread_barrierattrinit.c similarity index 100% rename from lib/pthread/pthread_barrierattrinit.c rename to libc/pthread/pthread_barrierattrinit.c diff --git a/lib/pthread/pthread_barrierattrsetpshared.c b/libc/pthread/pthread_barrierattrsetpshared.c similarity index 100% rename from lib/pthread/pthread_barrierattrsetpshared.c rename to libc/pthread/pthread_barrierattrsetpshared.c diff --git a/lib/pthread/pthread_condattrdestroy.c b/libc/pthread/pthread_condattrdestroy.c similarity index 100% rename from lib/pthread/pthread_condattrdestroy.c rename to libc/pthread/pthread_condattrdestroy.c diff --git a/lib/pthread/pthread_condattrinit.c b/libc/pthread/pthread_condattrinit.c similarity index 100% rename from lib/pthread/pthread_condattrinit.c rename to libc/pthread/pthread_condattrinit.c diff --git a/lib/pthread/pthread_mutexattrdestroy.c b/libc/pthread/pthread_mutexattrdestroy.c similarity index 100% rename from lib/pthread/pthread_mutexattrdestroy.c rename to libc/pthread/pthread_mutexattrdestroy.c diff --git a/lib/pthread/pthread_mutexattrgetpshared.c b/libc/pthread/pthread_mutexattrgetpshared.c similarity index 100% rename from lib/pthread/pthread_mutexattrgetpshared.c rename to libc/pthread/pthread_mutexattrgetpshared.c diff --git a/lib/pthread/pthread_mutexattrgettype.c b/libc/pthread/pthread_mutexattrgettype.c similarity index 100% rename from lib/pthread/pthread_mutexattrgettype.c rename to libc/pthread/pthread_mutexattrgettype.c diff --git a/lib/pthread/pthread_mutexattrinit.c b/libc/pthread/pthread_mutexattrinit.c similarity index 100% rename from lib/pthread/pthread_mutexattrinit.c rename to libc/pthread/pthread_mutexattrinit.c diff --git a/lib/pthread/pthread_mutexattrsetpshared.c b/libc/pthread/pthread_mutexattrsetpshared.c similarity index 100% rename from lib/pthread/pthread_mutexattrsetpshared.c rename to libc/pthread/pthread_mutexattrsetpshared.c diff --git a/lib/pthread/pthread_mutexattrsettype.c b/libc/pthread/pthread_mutexattrsettype.c similarity index 100% rename from lib/pthread/pthread_mutexattrsettype.c rename to libc/pthread/pthread_mutexattrsettype.c diff --git a/lib/queue/Make.defs b/libc/queue/Make.defs similarity index 100% rename from lib/queue/Make.defs rename to libc/queue/Make.defs diff --git a/lib/queue/dq_addafter.c b/libc/queue/dq_addafter.c similarity index 100% rename from lib/queue/dq_addafter.c rename to libc/queue/dq_addafter.c diff --git a/lib/queue/dq_addbefore.c b/libc/queue/dq_addbefore.c similarity index 100% rename from lib/queue/dq_addbefore.c rename to libc/queue/dq_addbefore.c diff --git a/lib/queue/dq_addfirst.c b/libc/queue/dq_addfirst.c similarity index 100% rename from lib/queue/dq_addfirst.c rename to libc/queue/dq_addfirst.c diff --git a/lib/queue/dq_addlast.c b/libc/queue/dq_addlast.c similarity index 100% rename from lib/queue/dq_addlast.c rename to libc/queue/dq_addlast.c diff --git a/lib/queue/dq_rem.c b/libc/queue/dq_rem.c similarity index 100% rename from lib/queue/dq_rem.c rename to libc/queue/dq_rem.c diff --git a/lib/queue/dq_remfirst.c b/libc/queue/dq_remfirst.c similarity index 100% rename from lib/queue/dq_remfirst.c rename to libc/queue/dq_remfirst.c diff --git a/lib/queue/dq_remlast.c b/libc/queue/dq_remlast.c similarity index 100% rename from lib/queue/dq_remlast.c rename to libc/queue/dq_remlast.c diff --git a/lib/queue/sq_addafter.c b/libc/queue/sq_addafter.c similarity index 100% rename from lib/queue/sq_addafter.c rename to libc/queue/sq_addafter.c diff --git a/lib/queue/sq_addfirst.c b/libc/queue/sq_addfirst.c similarity index 100% rename from lib/queue/sq_addfirst.c rename to libc/queue/sq_addfirst.c diff --git a/lib/queue/sq_addlast.c b/libc/queue/sq_addlast.c similarity index 100% rename from lib/queue/sq_addlast.c rename to libc/queue/sq_addlast.c diff --git a/lib/queue/sq_rem.c b/libc/queue/sq_rem.c similarity index 100% rename from lib/queue/sq_rem.c rename to libc/queue/sq_rem.c diff --git a/lib/queue/sq_remafter.c b/libc/queue/sq_remafter.c similarity index 100% rename from lib/queue/sq_remafter.c rename to libc/queue/sq_remafter.c diff --git a/lib/queue/sq_remfirst.c b/libc/queue/sq_remfirst.c similarity index 100% rename from lib/queue/sq_remfirst.c rename to libc/queue/sq_remfirst.c diff --git a/lib/queue/sq_remlast.c b/libc/queue/sq_remlast.c similarity index 100% rename from lib/queue/sq_remlast.c rename to libc/queue/sq_remlast.c diff --git a/lib/sched/Make.defs b/libc/sched/Make.defs similarity index 100% rename from lib/sched/Make.defs rename to libc/sched/Make.defs diff --git a/lib/sched/sched_getprioritymax.c b/libc/sched/sched_getprioritymax.c similarity index 100% rename from lib/sched/sched_getprioritymax.c rename to libc/sched/sched_getprioritymax.c diff --git a/lib/sched/sched_getprioritymin.c b/libc/sched/sched_getprioritymin.c similarity index 100% rename from lib/sched/sched_getprioritymin.c rename to libc/sched/sched_getprioritymin.c diff --git a/lib/semaphore/Make.defs b/libc/semaphore/Make.defs similarity index 100% rename from lib/semaphore/Make.defs rename to libc/semaphore/Make.defs diff --git a/lib/semaphore/sem_getvalue.c b/libc/semaphore/sem_getvalue.c similarity index 100% rename from lib/semaphore/sem_getvalue.c rename to libc/semaphore/sem_getvalue.c diff --git a/lib/semaphore/sem_init.c b/libc/semaphore/sem_init.c similarity index 100% rename from lib/semaphore/sem_init.c rename to libc/semaphore/sem_init.c diff --git a/lib/signal/Make.defs b/libc/signal/Make.defs similarity index 100% rename from lib/signal/Make.defs rename to libc/signal/Make.defs diff --git a/lib/signal/sig_addset.c b/libc/signal/sig_addset.c similarity index 100% rename from lib/signal/sig_addset.c rename to libc/signal/sig_addset.c diff --git a/lib/signal/sig_delset.c b/libc/signal/sig_delset.c similarity index 100% rename from lib/signal/sig_delset.c rename to libc/signal/sig_delset.c diff --git a/lib/signal/sig_emptyset.c b/libc/signal/sig_emptyset.c similarity index 100% rename from lib/signal/sig_emptyset.c rename to libc/signal/sig_emptyset.c diff --git a/lib/signal/sig_fillset.c b/libc/signal/sig_fillset.c similarity index 100% rename from lib/signal/sig_fillset.c rename to libc/signal/sig_fillset.c diff --git a/lib/signal/sig_ismember.c b/libc/signal/sig_ismember.c similarity index 100% rename from lib/signal/sig_ismember.c rename to libc/signal/sig_ismember.c diff --git a/lib/stdio/Make.defs b/libc/stdio/Make.defs similarity index 100% rename from lib/stdio/Make.defs rename to libc/stdio/Make.defs diff --git a/lib/stdio/lib_asprintf.c b/libc/stdio/lib_asprintf.c similarity index 100% rename from lib/stdio/lib_asprintf.c rename to libc/stdio/lib_asprintf.c diff --git a/lib/stdio/lib_avsprintf.c b/libc/stdio/lib_avsprintf.c similarity index 100% rename from lib/stdio/lib_avsprintf.c rename to libc/stdio/lib_avsprintf.c diff --git a/lib/stdio/lib_clearerr.c b/libc/stdio/lib_clearerr.c similarity index 100% rename from lib/stdio/lib_clearerr.c rename to libc/stdio/lib_clearerr.c diff --git a/lib/stdio/lib_dtoa.c b/libc/stdio/lib_dtoa.c similarity index 100% rename from lib/stdio/lib_dtoa.c rename to libc/stdio/lib_dtoa.c diff --git a/lib/stdio/lib_fclose.c b/libc/stdio/lib_fclose.c similarity index 100% rename from lib/stdio/lib_fclose.c rename to libc/stdio/lib_fclose.c diff --git a/lib/stdio/lib_feof.c b/libc/stdio/lib_feof.c similarity index 100% rename from lib/stdio/lib_feof.c rename to libc/stdio/lib_feof.c diff --git a/lib/stdio/lib_ferror.c b/libc/stdio/lib_ferror.c similarity index 100% rename from lib/stdio/lib_ferror.c rename to libc/stdio/lib_ferror.c diff --git a/lib/stdio/lib_fflush.c b/libc/stdio/lib_fflush.c similarity index 100% rename from lib/stdio/lib_fflush.c rename to libc/stdio/lib_fflush.c diff --git a/lib/stdio/lib_fgetc.c b/libc/stdio/lib_fgetc.c similarity index 100% rename from lib/stdio/lib_fgetc.c rename to libc/stdio/lib_fgetc.c diff --git a/lib/stdio/lib_fgetpos.c b/libc/stdio/lib_fgetpos.c similarity index 100% rename from lib/stdio/lib_fgetpos.c rename to libc/stdio/lib_fgetpos.c diff --git a/lib/stdio/lib_fgets.c b/libc/stdio/lib_fgets.c similarity index 100% rename from lib/stdio/lib_fgets.c rename to libc/stdio/lib_fgets.c diff --git a/lib/stdio/lib_fileno.c b/libc/stdio/lib_fileno.c similarity index 100% rename from lib/stdio/lib_fileno.c rename to libc/stdio/lib_fileno.c diff --git a/lib/stdio/lib_fopen.c b/libc/stdio/lib_fopen.c similarity index 100% rename from lib/stdio/lib_fopen.c rename to libc/stdio/lib_fopen.c diff --git a/lib/stdio/lib_fprintf.c b/libc/stdio/lib_fprintf.c similarity index 100% rename from lib/stdio/lib_fprintf.c rename to libc/stdio/lib_fprintf.c diff --git a/lib/stdio/lib_fputc.c b/libc/stdio/lib_fputc.c similarity index 100% rename from lib/stdio/lib_fputc.c rename to libc/stdio/lib_fputc.c diff --git a/lib/stdio/lib_fputs.c b/libc/stdio/lib_fputs.c similarity index 100% rename from lib/stdio/lib_fputs.c rename to libc/stdio/lib_fputs.c diff --git a/lib/stdio/lib_fread.c b/libc/stdio/lib_fread.c similarity index 100% rename from lib/stdio/lib_fread.c rename to libc/stdio/lib_fread.c diff --git a/lib/stdio/lib_fseek.c b/libc/stdio/lib_fseek.c similarity index 100% rename from lib/stdio/lib_fseek.c rename to libc/stdio/lib_fseek.c diff --git a/lib/stdio/lib_fsetpos.c b/libc/stdio/lib_fsetpos.c similarity index 100% rename from lib/stdio/lib_fsetpos.c rename to libc/stdio/lib_fsetpos.c diff --git a/lib/stdio/lib_ftell.c b/libc/stdio/lib_ftell.c similarity index 100% rename from lib/stdio/lib_ftell.c rename to libc/stdio/lib_ftell.c diff --git a/lib/stdio/lib_fwrite.c b/libc/stdio/lib_fwrite.c similarity index 100% rename from lib/stdio/lib_fwrite.c rename to libc/stdio/lib_fwrite.c diff --git a/lib/stdio/lib_gets.c b/libc/stdio/lib_gets.c similarity index 100% rename from lib/stdio/lib_gets.c rename to libc/stdio/lib_gets.c diff --git a/lib/stdio/lib_libdtoa.c b/libc/stdio/lib_libdtoa.c similarity index 100% rename from lib/stdio/lib_libdtoa.c rename to libc/stdio/lib_libdtoa.c diff --git a/lib/stdio/lib_libfflush.c b/libc/stdio/lib_libfflush.c similarity index 100% rename from lib/stdio/lib_libfflush.c rename to libc/stdio/lib_libfflush.c diff --git a/lib/stdio/lib_libflushall.c b/libc/stdio/lib_libflushall.c similarity index 100% rename from lib/stdio/lib_libflushall.c rename to libc/stdio/lib_libflushall.c diff --git a/lib/stdio/lib_libfread.c b/libc/stdio/lib_libfread.c similarity index 100% rename from lib/stdio/lib_libfread.c rename to libc/stdio/lib_libfread.c diff --git a/lib/stdio/lib_libfwrite.c b/libc/stdio/lib_libfwrite.c similarity index 100% rename from lib/stdio/lib_libfwrite.c rename to libc/stdio/lib_libfwrite.c diff --git a/lib/stdio/lib_libnoflush.c b/libc/stdio/lib_libnoflush.c similarity index 100% rename from lib/stdio/lib_libnoflush.c rename to libc/stdio/lib_libnoflush.c diff --git a/lib/stdio/lib_libsprintf.c b/libc/stdio/lib_libsprintf.c similarity index 100% rename from lib/stdio/lib_libsprintf.c rename to libc/stdio/lib_libsprintf.c diff --git a/lib/stdio/lib_libvsprintf.c b/libc/stdio/lib_libvsprintf.c similarity index 100% rename from lib/stdio/lib_libvsprintf.c rename to libc/stdio/lib_libvsprintf.c diff --git a/lib/stdio/lib_lowinstream.c b/libc/stdio/lib_lowinstream.c similarity index 100% rename from lib/stdio/lib_lowinstream.c rename to libc/stdio/lib_lowinstream.c diff --git a/lib/stdio/lib_lowoutstream.c b/libc/stdio/lib_lowoutstream.c similarity index 100% rename from lib/stdio/lib_lowoutstream.c rename to libc/stdio/lib_lowoutstream.c diff --git a/lib/stdio/lib_lowprintf.c b/libc/stdio/lib_lowprintf.c similarity index 100% rename from lib/stdio/lib_lowprintf.c rename to libc/stdio/lib_lowprintf.c diff --git a/lib/stdio/lib_meminstream.c b/libc/stdio/lib_meminstream.c similarity index 100% rename from lib/stdio/lib_meminstream.c rename to libc/stdio/lib_meminstream.c diff --git a/lib/stdio/lib_memoutstream.c b/libc/stdio/lib_memoutstream.c similarity index 100% rename from lib/stdio/lib_memoutstream.c rename to libc/stdio/lib_memoutstream.c diff --git a/lib/stdio/lib_nullinstream.c b/libc/stdio/lib_nullinstream.c similarity index 100% rename from lib/stdio/lib_nullinstream.c rename to libc/stdio/lib_nullinstream.c diff --git a/lib/stdio/lib_nulloutstream.c b/libc/stdio/lib_nulloutstream.c similarity index 100% rename from lib/stdio/lib_nulloutstream.c rename to libc/stdio/lib_nulloutstream.c diff --git a/lib/stdio/lib_perror.c b/libc/stdio/lib_perror.c similarity index 100% rename from lib/stdio/lib_perror.c rename to libc/stdio/lib_perror.c diff --git a/lib/stdio/lib_printf.c b/libc/stdio/lib_printf.c similarity index 100% rename from lib/stdio/lib_printf.c rename to libc/stdio/lib_printf.c diff --git a/lib/stdio/lib_puts.c b/libc/stdio/lib_puts.c similarity index 100% rename from lib/stdio/lib_puts.c rename to libc/stdio/lib_puts.c diff --git a/lib/stdio/lib_rawinstream.c b/libc/stdio/lib_rawinstream.c similarity index 100% rename from lib/stdio/lib_rawinstream.c rename to libc/stdio/lib_rawinstream.c diff --git a/lib/stdio/lib_rawoutstream.c b/libc/stdio/lib_rawoutstream.c similarity index 100% rename from lib/stdio/lib_rawoutstream.c rename to libc/stdio/lib_rawoutstream.c diff --git a/lib/stdio/lib_rawprintf.c b/libc/stdio/lib_rawprintf.c similarity index 100% rename from lib/stdio/lib_rawprintf.c rename to libc/stdio/lib_rawprintf.c diff --git a/lib/stdio/lib_rdflush.c b/libc/stdio/lib_rdflush.c similarity index 100% rename from lib/stdio/lib_rdflush.c rename to libc/stdio/lib_rdflush.c diff --git a/lib/stdio/lib_snprintf.c b/libc/stdio/lib_snprintf.c similarity index 100% rename from lib/stdio/lib_snprintf.c rename to libc/stdio/lib_snprintf.c diff --git a/lib/stdio/lib_sprintf.c b/libc/stdio/lib_sprintf.c similarity index 100% rename from lib/stdio/lib_sprintf.c rename to libc/stdio/lib_sprintf.c diff --git a/lib/stdio/lib_sscanf.c b/libc/stdio/lib_sscanf.c similarity index 100% rename from lib/stdio/lib_sscanf.c rename to libc/stdio/lib_sscanf.c diff --git a/lib/stdio/lib_stdinstream.c b/libc/stdio/lib_stdinstream.c similarity index 100% rename from lib/stdio/lib_stdinstream.c rename to libc/stdio/lib_stdinstream.c diff --git a/lib/stdio/lib_stdoutstream.c b/libc/stdio/lib_stdoutstream.c similarity index 100% rename from lib/stdio/lib_stdoutstream.c rename to libc/stdio/lib_stdoutstream.c diff --git a/lib/stdio/lib_syslogstream.c b/libc/stdio/lib_syslogstream.c similarity index 100% rename from lib/stdio/lib_syslogstream.c rename to libc/stdio/lib_syslogstream.c diff --git a/lib/stdio/lib_ungetc.c b/libc/stdio/lib_ungetc.c similarity index 100% rename from lib/stdio/lib_ungetc.c rename to libc/stdio/lib_ungetc.c diff --git a/lib/stdio/lib_vfprintf.c b/libc/stdio/lib_vfprintf.c similarity index 100% rename from lib/stdio/lib_vfprintf.c rename to libc/stdio/lib_vfprintf.c diff --git a/lib/stdio/lib_vprintf.c b/libc/stdio/lib_vprintf.c similarity index 100% rename from lib/stdio/lib_vprintf.c rename to libc/stdio/lib_vprintf.c diff --git a/lib/stdio/lib_vsnprintf.c b/libc/stdio/lib_vsnprintf.c similarity index 100% rename from lib/stdio/lib_vsnprintf.c rename to libc/stdio/lib_vsnprintf.c diff --git a/lib/stdio/lib_vsprintf.c b/libc/stdio/lib_vsprintf.c similarity index 100% rename from lib/stdio/lib_vsprintf.c rename to libc/stdio/lib_vsprintf.c diff --git a/lib/stdio/lib_wrflush.c b/libc/stdio/lib_wrflush.c similarity index 100% rename from lib/stdio/lib_wrflush.c rename to libc/stdio/lib_wrflush.c diff --git a/lib/stdio/lib_zeroinstream.c b/libc/stdio/lib_zeroinstream.c similarity index 100% rename from lib/stdio/lib_zeroinstream.c rename to libc/stdio/lib_zeroinstream.c diff --git a/lib/stdlib/Make.defs b/libc/stdlib/Make.defs similarity index 100% rename from lib/stdlib/Make.defs rename to libc/stdlib/Make.defs diff --git a/lib/stdlib/lib_abort.c b/libc/stdlib/lib_abort.c similarity index 100% rename from lib/stdlib/lib_abort.c rename to libc/stdlib/lib_abort.c diff --git a/lib/stdlib/lib_abs.c b/libc/stdlib/lib_abs.c similarity index 100% rename from lib/stdlib/lib_abs.c rename to libc/stdlib/lib_abs.c diff --git a/lib/stdlib/lib_imaxabs.c b/libc/stdlib/lib_imaxabs.c similarity index 100% rename from lib/stdlib/lib_imaxabs.c rename to libc/stdlib/lib_imaxabs.c diff --git a/lib/stdlib/lib_labs.c b/libc/stdlib/lib_labs.c similarity index 100% rename from lib/stdlib/lib_labs.c rename to libc/stdlib/lib_labs.c diff --git a/lib/stdlib/lib_llabs.c b/libc/stdlib/lib_llabs.c similarity index 100% rename from lib/stdlib/lib_llabs.c rename to libc/stdlib/lib_llabs.c diff --git a/lib/stdlib/lib_qsort.c b/libc/stdlib/lib_qsort.c similarity index 100% rename from lib/stdlib/lib_qsort.c rename to libc/stdlib/lib_qsort.c diff --git a/lib/stdlib/lib_rand.c b/libc/stdlib/lib_rand.c similarity index 100% rename from lib/stdlib/lib_rand.c rename to libc/stdlib/lib_rand.c diff --git a/lib/string/Make.defs b/libc/string/Make.defs similarity index 100% rename from lib/string/Make.defs rename to libc/string/Make.defs diff --git a/lib/string/lib_checkbase.c b/libc/string/lib_checkbase.c similarity index 100% rename from lib/string/lib_checkbase.c rename to libc/string/lib_checkbase.c diff --git a/lib/string/lib_isbasedigit.c b/libc/string/lib_isbasedigit.c similarity index 100% rename from lib/string/lib_isbasedigit.c rename to libc/string/lib_isbasedigit.c diff --git a/lib/string/lib_memccpy.c b/libc/string/lib_memccpy.c similarity index 100% rename from lib/string/lib_memccpy.c rename to libc/string/lib_memccpy.c diff --git a/lib/string/lib_memchr.c b/libc/string/lib_memchr.c similarity index 100% rename from lib/string/lib_memchr.c rename to libc/string/lib_memchr.c diff --git a/lib/string/lib_memcmp.c b/libc/string/lib_memcmp.c similarity index 100% rename from lib/string/lib_memcmp.c rename to libc/string/lib_memcmp.c diff --git a/lib/string/lib_memcpy.c b/libc/string/lib_memcpy.c similarity index 100% rename from lib/string/lib_memcpy.c rename to libc/string/lib_memcpy.c diff --git a/lib/string/lib_memmove.c b/libc/string/lib_memmove.c similarity index 100% rename from lib/string/lib_memmove.c rename to libc/string/lib_memmove.c diff --git a/lib/string/lib_memset.c b/libc/string/lib_memset.c similarity index 100% rename from lib/string/lib_memset.c rename to libc/string/lib_memset.c diff --git a/lib/string/lib_skipspace.c b/libc/string/lib_skipspace.c similarity index 100% rename from lib/string/lib_skipspace.c rename to libc/string/lib_skipspace.c diff --git a/lib/string/lib_strcasecmp.c b/libc/string/lib_strcasecmp.c similarity index 100% rename from lib/string/lib_strcasecmp.c rename to libc/string/lib_strcasecmp.c diff --git a/lib/string/lib_strcasestr.c b/libc/string/lib_strcasestr.c similarity index 100% rename from lib/string/lib_strcasestr.c rename to libc/string/lib_strcasestr.c diff --git a/lib/string/lib_strcat.c b/libc/string/lib_strcat.c similarity index 100% rename from lib/string/lib_strcat.c rename to libc/string/lib_strcat.c diff --git a/lib/string/lib_strchr.c b/libc/string/lib_strchr.c similarity index 100% rename from lib/string/lib_strchr.c rename to libc/string/lib_strchr.c diff --git a/lib/string/lib_strcmp.c b/libc/string/lib_strcmp.c similarity index 100% rename from lib/string/lib_strcmp.c rename to libc/string/lib_strcmp.c diff --git a/lib/string/lib_strcpy.c b/libc/string/lib_strcpy.c similarity index 100% rename from lib/string/lib_strcpy.c rename to libc/string/lib_strcpy.c diff --git a/lib/string/lib_strcspn.c b/libc/string/lib_strcspn.c similarity index 100% rename from lib/string/lib_strcspn.c rename to libc/string/lib_strcspn.c diff --git a/lib/string/lib_strdup.c b/libc/string/lib_strdup.c similarity index 100% rename from lib/string/lib_strdup.c rename to libc/string/lib_strdup.c diff --git a/lib/string/lib_strerror.c b/libc/string/lib_strerror.c similarity index 100% rename from lib/string/lib_strerror.c rename to libc/string/lib_strerror.c diff --git a/lib/string/lib_strlen.c b/libc/string/lib_strlen.c similarity index 100% rename from lib/string/lib_strlen.c rename to libc/string/lib_strlen.c diff --git a/lib/string/lib_strncasecmp.c b/libc/string/lib_strncasecmp.c similarity index 100% rename from lib/string/lib_strncasecmp.c rename to libc/string/lib_strncasecmp.c diff --git a/lib/string/lib_strncat.c b/libc/string/lib_strncat.c similarity index 100% rename from lib/string/lib_strncat.c rename to libc/string/lib_strncat.c diff --git a/lib/string/lib_strncmp.c b/libc/string/lib_strncmp.c similarity index 100% rename from lib/string/lib_strncmp.c rename to libc/string/lib_strncmp.c diff --git a/lib/string/lib_strncpy.c b/libc/string/lib_strncpy.c similarity index 100% rename from lib/string/lib_strncpy.c rename to libc/string/lib_strncpy.c diff --git a/lib/string/lib_strndup.c b/libc/string/lib_strndup.c similarity index 100% rename from lib/string/lib_strndup.c rename to libc/string/lib_strndup.c diff --git a/lib/string/lib_strnlen.c b/libc/string/lib_strnlen.c similarity index 100% rename from lib/string/lib_strnlen.c rename to libc/string/lib_strnlen.c diff --git a/lib/string/lib_strpbrk.c b/libc/string/lib_strpbrk.c similarity index 100% rename from lib/string/lib_strpbrk.c rename to libc/string/lib_strpbrk.c diff --git a/lib/string/lib_strrchr.c b/libc/string/lib_strrchr.c similarity index 100% rename from lib/string/lib_strrchr.c rename to libc/string/lib_strrchr.c diff --git a/lib/string/lib_strspn.c b/libc/string/lib_strspn.c similarity index 100% rename from lib/string/lib_strspn.c rename to libc/string/lib_strspn.c diff --git a/lib/string/lib_strstr.c b/libc/string/lib_strstr.c similarity index 100% rename from lib/string/lib_strstr.c rename to libc/string/lib_strstr.c diff --git a/lib/string/lib_strtod.c b/libc/string/lib_strtod.c similarity index 100% rename from lib/string/lib_strtod.c rename to libc/string/lib_strtod.c diff --git a/lib/string/lib_strtok.c b/libc/string/lib_strtok.c similarity index 100% rename from lib/string/lib_strtok.c rename to libc/string/lib_strtok.c diff --git a/lib/string/lib_strtokr.c b/libc/string/lib_strtokr.c similarity index 100% rename from lib/string/lib_strtokr.c rename to libc/string/lib_strtokr.c diff --git a/lib/string/lib_strtol.c b/libc/string/lib_strtol.c similarity index 100% rename from lib/string/lib_strtol.c rename to libc/string/lib_strtol.c diff --git a/lib/string/lib_strtoll.c b/libc/string/lib_strtoll.c similarity index 100% rename from lib/string/lib_strtoll.c rename to libc/string/lib_strtoll.c diff --git a/lib/string/lib_strtoul.c b/libc/string/lib_strtoul.c similarity index 100% rename from lib/string/lib_strtoul.c rename to libc/string/lib_strtoul.c diff --git a/lib/string/lib_strtoull.c b/libc/string/lib_strtoull.c similarity index 100% rename from lib/string/lib_strtoull.c rename to libc/string/lib_strtoull.c diff --git a/lib/string/lib_vikmemcpy.c b/libc/string/lib_vikmemcpy.c similarity index 100% rename from lib/string/lib_vikmemcpy.c rename to libc/string/lib_vikmemcpy.c diff --git a/lib/termios/Make.defs b/libc/termios/Make.defs similarity index 100% rename from lib/termios/Make.defs rename to libc/termios/Make.defs diff --git a/lib/termios/lib_cfgetspeed.c b/libc/termios/lib_cfgetspeed.c similarity index 100% rename from lib/termios/lib_cfgetspeed.c rename to libc/termios/lib_cfgetspeed.c diff --git a/lib/termios/lib_cfsetspeed.c b/libc/termios/lib_cfsetspeed.c similarity index 100% rename from lib/termios/lib_cfsetspeed.c rename to libc/termios/lib_cfsetspeed.c diff --git a/lib/termios/lib_tcflush.c b/libc/termios/lib_tcflush.c similarity index 100% rename from lib/termios/lib_tcflush.c rename to libc/termios/lib_tcflush.c diff --git a/lib/termios/lib_tcgetattr.c b/libc/termios/lib_tcgetattr.c similarity index 100% rename from lib/termios/lib_tcgetattr.c rename to libc/termios/lib_tcgetattr.c diff --git a/lib/termios/lib_tcsetattr.c b/libc/termios/lib_tcsetattr.c similarity index 100% rename from lib/termios/lib_tcsetattr.c rename to libc/termios/lib_tcsetattr.c diff --git a/lib/time/Make.defs b/libc/time/Make.defs similarity index 100% rename from lib/time/Make.defs rename to libc/time/Make.defs diff --git a/lib/time/lib_calendar2utc.c b/libc/time/lib_calendar2utc.c similarity index 100% rename from lib/time/lib_calendar2utc.c rename to libc/time/lib_calendar2utc.c diff --git a/lib/time/lib_daysbeforemonth.c b/libc/time/lib_daysbeforemonth.c similarity index 100% rename from lib/time/lib_daysbeforemonth.c rename to libc/time/lib_daysbeforemonth.c diff --git a/lib/time/lib_gmtime.c b/libc/time/lib_gmtime.c similarity index 100% rename from lib/time/lib_gmtime.c rename to libc/time/lib_gmtime.c diff --git a/lib/time/lib_gmtimer.c b/libc/time/lib_gmtimer.c similarity index 100% rename from lib/time/lib_gmtimer.c rename to libc/time/lib_gmtimer.c diff --git a/lib/time/lib_isleapyear.c b/libc/time/lib_isleapyear.c similarity index 100% rename from lib/time/lib_isleapyear.c rename to libc/time/lib_isleapyear.c diff --git a/lib/time/lib_mktime.c b/libc/time/lib_mktime.c similarity index 100% rename from lib/time/lib_mktime.c rename to libc/time/lib_mktime.c diff --git a/lib/time/lib_strftime.c b/libc/time/lib_strftime.c similarity index 100% rename from lib/time/lib_strftime.c rename to libc/time/lib_strftime.c diff --git a/lib/time/lib_time.c b/libc/time/lib_time.c similarity index 100% rename from lib/time/lib_time.c rename to libc/time/lib_time.c diff --git a/lib/unistd/Make.defs b/libc/unistd/Make.defs similarity index 100% rename from lib/unistd/Make.defs rename to libc/unistd/Make.defs diff --git a/lib/unistd/lib_chdir.c b/libc/unistd/lib_chdir.c similarity index 100% rename from lib/unistd/lib_chdir.c rename to libc/unistd/lib_chdir.c diff --git a/lib/unistd/lib_getcwd.c b/libc/unistd/lib_getcwd.c similarity index 100% rename from lib/unistd/lib_getcwd.c rename to libc/unistd/lib_getcwd.c diff --git a/lib/unistd/lib_getopt.c b/libc/unistd/lib_getopt.c similarity index 100% rename from lib/unistd/lib_getopt.c rename to libc/unistd/lib_getopt.c diff --git a/lib/unistd/lib_getoptargp.c b/libc/unistd/lib_getoptargp.c similarity index 100% rename from lib/unistd/lib_getoptargp.c rename to libc/unistd/lib_getoptargp.c diff --git a/lib/unistd/lib_getoptindp.c b/libc/unistd/lib_getoptindp.c similarity index 100% rename from lib/unistd/lib_getoptindp.c rename to libc/unistd/lib_getoptindp.c diff --git a/lib/unistd/lib_getoptoptp.c b/libc/unistd/lib_getoptoptp.c similarity index 100% rename from lib/unistd/lib_getoptoptp.c rename to libc/unistd/lib_getoptoptp.c