Zepp-Hanzj commented on PR #18994: URL: https://github.com/apache/nuttx/pull/18994#issuecomment-4576804390
Thanks for the feedback. I've updated the PR description below. ## Description Adds documentation for the `uid` example, which previously only had "TODO". The `uid` example queries user and group information using POSIX `getpwuid_r()`, `getpwnam_r()`, `getgrgid_r()`, and `getgrnam_r()`. ## Changes **File**: `Documentation/applications/examples/uid/index.rst` (+111 lines) - Command syntax and options table - Synopsis explaining the tool's purpose - Usage examples for each query type (`-uid`, `-uname`, `-gid`, `-gname`, `-h`) - Configuration options from Kconfig ## Source reference All content extracted from `apps/examples/uid/uid_main.c`: - Options: `show_usage()` function (lines 42-51) - Output format: `show_pwd()` and `show_grp()` functions - Configuration: `apps/examples/uid/Kconfig` ## Verification - ✅ Content accuracy: all info from source code - ✅ Format: follows NuttX doc style - ✅ Build: build-html check passed Signed-off-by: hanzj <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
