Be sure to set the input string name in the parmlist to NULL on the second through last invocation of strtok; be sure your delimiters make sense for the invocation. You can change delimiters, if needed, on each invocation.
On Mon, Apr 22, 2013 at 3:21 PM, Scott Ford <[email protected]> wrote: > All: > > I need some C help .. > > I am reading a file and need to Tokenize the file so i can examine the : > > Parm = Value .. > > I have tried strtok and works to a certain degree my problem comes when > I tried to strcmp the value to chaeck validity ... > > Can some give this old man some pointers > > > Regards, > > Scott J Ford > Software Engineer > http://www.identityforge.com/ > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
