nuttx/libs/libc/unistd
guoshichao 79af1cdfe6 libs/libc/getpgid: add getpgid implementation
1. the getpgid function can help to pass the
ltp/open_posix_testsuite/killpg related testcases
2. NuttX do not support process group, so we use the process id as
process group id
3. the implementation are referred to: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpgid.html

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2023-07-13 19:37:35 +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
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
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
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
lib_getpgid.c libs/libc/getpgid: add getpgid implementation 2023-07-13 19:37:35 +08: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 libs/libc/getpgid: add getpgid implementation 2023-07-13 19:37:35 +08:00
unistd.h