nuttx/libs/libc/pwd
Marco Casaroli 12d5e1c0ba libs/libc/pwd: Add getlogin() and getlogin_r().
POSIX specifies getlogin() and getlogin_r(), and NuttX did not have
them.  NuttX has no login sessions, so the login name is the name of
the real user ID in the user database, from getpwuid_r(): "root" when
there is no passwd file.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-10-10 02:32:17 +08:00
..
CMakeLists.txt libs/libc/pwd: Add getlogin() and getlogin_r(). 2026-10-10 02:32:17 +08:00
Kconfig
lib_find_pwdfile.c sched: add supplementary group IDs (setgroups/getgroups/initgroups) 2026-08-12 16:06:03 -03:00
lib_getlogin.c libs/libc/pwd: Add getlogin() and getlogin_r(). 2026-10-10 02:32:17 +08:00
lib_getpwbuf.c
lib_getpwbufr.c
lib_getpwent.c
lib_getpwnam.c
lib_getpwnamr.c
lib_getpwuid.c
lib_getpwuidr.c
lib_getspnam.c
lib_getspnamr.c
lib_pwd.h
lib_pwd_globals.c
Make.defs libs/libc/pwd: Add getlogin() and getlogin_r(). 2026-10-10 02:32:17 +08:00