Page 1 of 1
Does TOS have an getopt?
Posted: 03 May 2019 15:21
by PaulJ
Does anyone know of GETOPT code for TOS. It would be convenient to find a drop in instead of processing input parameters myself. Didn't want to spend a lot of time getting linux code to run. Anyhow thanks in advance.
Re: Does TOS have an getopt?
Posted: 03 May 2019 18:41
by mfro
PaulJ wrote: 03 May 2019 15:21
Does anyone know of GETOPT code for TOS. It would be convenient to find a drop in instead of processing input parameters myself. Didn't want to spend a lot of time getting linux code to run. Anyhow thanks in advance.
I think more or less every (serious) C compiler's C library for TOS provides a getopt() function (plug: even
libcmini does).
Re: Does TOS have an getopt?
Posted: 03 May 2019 21:07
by PaulJ
Thanks MFRO.. spell changer thinks fro is better so I capped ya.. :) Never the less thanks, I'll give it a try.