home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.hackers
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!taronga!peter
- From: peter@taronga.com (Peter da Silva)
- Subject: Re: not a test
- Message-ID: <0JNHGMG@taronga.com>
- Organization: Taronga Park BBS
- References: <ik89NB1w164w@kzdoos.hacktic.nl> <1992Jul23.075512.21400@cbfsb.cb.att.com> <1992Jul23.101031.27724@jarvis.csri.toronto.edu>
- Date: Fri, 24 Jul 1992 01:59:00 GMT
- Approved: Dogcow, and all the race conditions in the Macintosh API.
- Lines: 12
-
- In article <1992Jul23.101031.27724@jarvis.csri.toronto.edu> flaps@dgp.toronto.edu (Alan J Rosenthal) writes:
- >good god, please just use strtok(). Get to know your friendly neighbourhood C
- >library. This is EXACTLY what strtok() is for.
-
- Good god, please don't use strtok. It's inherently non-reentrant and it's not
- even usable in cooperative threads. Define a new function that operates on a
- string handle or a string file, but let strtok die a well deserved death.
- --
- `-_-'
- Have you hugged your wolf today? 'U`
-
- Peter da Silva, Taronga Park BBS, Houston, TX +1 713 568 0480/1032
-