Hi,
On 2025. 04. 07. 12:08, Marc Kewitz wrote:
+ while ((optc = getopt_long(argc, argv, short_options, long_options,
NULL)) != -1) {
+ switch (optc)
+ {
+ case 'i':
+ ignore_environment = true;
+ break;
+ case 'u':
+ add_unset_var(optarg);
Is it guaranteed that the memory pointed to by `optarg` will not change
after consecutive calls to `getopt*()`? I don't see it specified either
way in the man page.
Bence
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox