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