keith@portia.Stanford.EDU (keith farrar) (09/28/90)
Last night, I had a text parser I wrote run amok, because strtok() was returning EOF when it reached the end of the string (i.e. it was fed a null string). I suspect that it also has broken some serial comm code we are porting to the mac. The documented convention is for it then to return a NULL pointer - according to my ansi guides and my MPW C manual. Has this been brought up before? Is there a fix available? ______________________________________________________________________ | Keith Farrar | | AMIX Corporation | | Palo Alto, CA "The Iron Curtain is the | | (415) 856-1234 x217 Maginot Line of technology" | | -Ronald Reagan | | DOMAIN: keith@markets.amix.com | | UUCP: {uunet|sun|xanadu!}markets!keith | ----------------------------------------------------------------------