nuttx/libs/libc/unistd
yanghuatao 980462bf27 set CONFIG_PTHREAD_STACK_MIN as DEFAULT_MM_PGSIZE`s default value and
sysconf add param _SC_THREAD_STACK_MIN deal

make the pthread_exit pass the ltp/open_posix_testsuite/pthread_exit/1-2.c testcase
(1) in pthread_exit/1-2.c testcase, if sysconf(_SC_THREAD_STACK_MIN) % sysconf(_SC_PAGESIZE) is not zero, will report error and test failed, so set CONFIG_PTHREAD_STACK_MIN as DEFAULT_MM_PGSIZE`s default value.
(2) in function sysconf add param _SC_THREAD_STACK_MIN deal.

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
2023-07-12 03:32:26 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig libc/symtab: Move SYMTAB_XXX from unistd/Kconfig to symtab/Kconfig 2023-07-10 13:09:47 -03:00
lib_access.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_alarm.c
lib_chdir.c libc: Don't duplicate string in chdir and lib_restoredir 2022-04-18 10:36:36 +03:00
lib_daemon.c
lib_execl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_execle.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_execv.c sched/task: Implement execle and execve 2022-04-22 10:40:31 +03:00
lib_fchdir.c fs/dir: support fchdir and dirfd 2022-08-09 23:30:01 +08:00
lib_fchownat.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_fstatvfs.c
lib_futimes.c
lib_getcwd.c change strcpy to strlcpy 2023-02-24 12:15:40 +08:00
lib_getegid.c
lib_getentropy.c libc: implement getentropy function 2022-03-25 13:48:33 +02:00
lib_geteuid.c
lib_getgid.c
lib_gethostname.c Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
lib_getopt_common.c
lib_getopt_long.c
lib_getopt_longonly.c
lib_getopt.c
lib_getoptargp.c
lib_getopterrp.c
lib_getoptindp.c
lib_getoptoptp.c
lib_getoptvars.c sched/tls: Wrap up_info_size into tls_info_size 2022-06-08 19:07:33 +09:00
lib_getpgrp.c libs/libc/unistd: add getpgrp function 2023-06-26 01:03:36 +08:00
lib_getpriority.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
lib_getrlimit.c libc: unistd: lib_getrlimit: set cur/max value for RLIMIT_NOFILE to "OPEN_MAX". 2023-02-17 18:07:30 +08:00
lib_getrusage.c Fix compiler warnings (-Wunused-parameter) in various functions 2022-07-12 11:42:34 +08:00
lib_getuid.c
lib_linkat.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_lutimes.c
lib_nice.c
lib_pathconf.c Fix compiler warnings (-Wunused-parameter) in various functions 2022-07-12 11:42:34 +08:00
lib_posix_fallocate.c
lib_readlinkat.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_restoredir.c semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
lib_setegid.c
lib_seteuid.c
lib_setgid.c
lib_sethostname.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
lib_setpriority.c semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
lib_setregid.c
lib_setreuid.c
lib_setrlimit.c Fix compiler warnings (-Wunused-parameter) in various functions 2022-07-12 11:42:34 +08:00
lib_setuid.c
lib_sleep.c
lib_statvfs.c
lib_swab.c Replace all strncpy with strlcpy 2023-05-08 09:57:01 +02:00
lib_symlinkat.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_sysconf.c set CONFIG_PTHREAD_STACK_MIN as DEFAULT_MM_PGSIZE`s default value and 2023-07-12 03:32:26 +08:00
lib_times.c
lib_truncate.c
lib_unlinkat.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_usleep.c
lib_utime.c
lib_utimes.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_vfork.c sched/task/fork: add fork implementation 2023-07-12 02:27:37 +08:00
Make.defs sched/task/fork: add fork implementation 2023-07-12 02:27:37 +08:00
unistd.h include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00