RTEMS | Add support for stdlib.h method - getsubopt (#3644)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Aug 2 21:36:54 UTC 2024




Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3644#note_110436


This is in newlib and has been since 2002. It is likely that the code written that didn't see it did not define the proper feature flag to trip this in stdlib.h:

```
#if __POSIX_VISIBLE >= 200809
extern char *suboptarg;                 /* getsubopt(3) external variable */
int     getsubopt (char **, char * const *, char **);
#endif
```

RTEMS does not have a **TEST** for this and would appreciate 1+.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3644#note_110436
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240802/82a63c5f/attachment-0001.htm>


More information about the bugs mailing list