httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@c2.org
Subject Re: duh (was: palloc() not working as expected... )
Date Thu, 18 Apr 1996 22:51:05 GMT
looking at the FreeBSD man page for strtok() I saw a ref to strsep()..

	How well-supported is strsep()?


> 
> In reply to Ben Laurie who said
> > 
> > Using strtok() usually makes this kind of stuff much neater. Or at least
> > strchr ... writing loops to find characters is naff.
> > 
> 
> Well, given the current trend strtok should be avoided big time since
> it's about as un-thread safe as you can get.
> 
> -- 
>   Paul Richards. Originative Solutions Ltd.  (Netcraft Ltd. contractor)
>   Elsevier Science TIS online journal project.
>   Email: p.richards@elsevier.co.uk
>   Phone: 0370 462071 (Mobile), +44 (0)1865 843155
> 


-- 
Sameer Parekh					Voice:   510-601-9777x3
Community ConneXion, Inc.			FAX:     510-601-9734
The Internet Privacy Provider			Dialin:  510-658-6376
http://www.c2.net/ (or login as "guest")		sameer@c2.net

Mime
View raw message