nuttx/libs/libc/unistd
Gregory Nutt ebdfd16f0f Move gettid() implementation to /libs/libc/unistd
Move sched/task/task/task_gettid.c to libs/libc/unistd/lib_gettid.c.  gettid() is a dumb wrapper around getpid().  It is wasteful of resources to support TWO systme calls, one for getpid() and one for gettid().  Instead, move gettid() in the C library where it calls the single sysgtem call, getpid().  Much cleaner.
2020-09-22 19:40:56 -07:00
..
Kconfig Introduce CONFIG_DEFAULT_TASK_STACKSIZE 2020-03-26 22:30:13 -05:00
lib_access.c libc: Implement access function correctly 2020-09-22 10:30:36 +02:00
lib_alarm.c Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
lib_chdir.c
lib_daemon.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_execl.c libc: Replace all malloc/free to lib_malloc/lib_free 2020-07-29 10:14:27 +01:00
lib_fstatvfs.c fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00
lib_futimens.c libs/libc/time: add stub for futimes/ns(2) 2020-09-19 03:20:09 -07:00
lib_futimes.c libs/libc/time: add stub for futimes/ns(2) 2020-09-19 03:20:09 -07:00
lib_getcwd.c libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
lib_getegid.c
lib_geteuid.c
lib_getgid.c
lib_gethostname.c libc: Make gethostname as syscall instead of uname 2020-07-30 10:33:08 +09:00
lib_getopt.c syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
lib_getoptargp.c
lib_getoptindp.c
lib_getoptoptp.c
lib_getpriority.c unistd/priority: Implement [s/g]etpriority(2) syscall 2020-09-19 01:06:51 -07:00
lib_getrlimit.c libs/libc/unistd: add dummy getrlimit & setrlimit support 2020-09-15 10:28:21 -03:00
lib_getrusage.c Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
lib_gettid.c Move gettid() implementation to /libs/libc/unistd 2020-09-22 19:40:56 -07:00
lib_getuid.c
lib_pathconf.c libc: Implement pathconf and fpathconf 2020-06-23 17:34:54 +01:00
lib_pipe.c libs/libc/unistd: Implement pipe2(2) syscall 2020-09-18 20:01:26 -07:00
lib_pipe2.c libs/libc/unistd: Implement pipe2(2) syscall 2020-09-18 20:01:26 -07:00
lib_restoredir.c libc: Implement ftw and nftw function 2020-08-11 16:44:42 +09:00
lib_setegid.c
lib_seteuid.c
lib_setgid.c
lib_sethostname.c Fix nxstyle issue 2020-05-01 10:43:47 -03:00
lib_setpriority.c unistd/priority: Implement [s/g]etpriority(2) syscall 2020-09-19 01:06:51 -07:00
lib_setregid.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_setreuid.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_setrlimit.c libs/libc/unistd: add dummy getrlimit & setrlimit support 2020-09-15 10:28:21 -03:00
lib_setuid.c
lib_sleep.c
lib_statvfs.c fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00
lib_swab.c
lib_sysconf.c libc: sysconf support _SC_NPROCESSORS_CONF/_SC_NPROCESSORS_ONLN 2020-06-27 22:43:13 +01:00
lib_truncate.c
lib_usleep.c
lib_utimes.c libs/libc/time: Add stub for utimes 2020-08-29 23:21:47 +08:00
Make.defs Move gettid() implementation to /libs/libc/unistd 2020-09-22 19:40:56 -07:00