We currently have an implmentation of the BSD string function strsep() in
sendmail and in libresolv2. This is a generic string manipulation function
useful in data parsing and is very similar (but safer and more flexible) to
strok().
We should provide strsep() in libc as part of <string.h>
This integration is covered by PSARC 2008/305, one pager is here:
http://www.opensolaris.org/os/community/arc/caselog/2008/305/
Work Around
Link in libresolv2 to get it (not nice if you weren't otherwise using libresolv2).