extinguish opened a new pull request, #17920: URL: https://github.com/apache/nuttx/pull/17920
## Summary Add the RLIM_NLIMITS macro with value 16 to sys/resource.h, indicating the total number of supported resource limit types. This improves POSIX header completeness and aids resource enumeration in applications. ## Impact 1. Improves POSIX header completeness by providing a constant that indicates the count of defined resource‑limit identifiers. 2. Enables applications to perform bounds checking or iterate over all resource‑limit types programmatically. 3. No functional change to existing resource‑limit enforcement; purely a compile‑time definition. ## Testing Verified that <sys/resource.h> compiles cleanly and that RLIM_NLIMITS is accessible. -- 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]
