3 ms·
Except then you have the issue about compilers complaining about double-declarations of the function, meaning you'll either have a lot of warning spam on every
by beefhash 8y ago
Except then you have the issue about compilers complaining about double-declarations of the function, meaning you'll either have a lot of warning spam on every #include or now hard require some kind of header defines for HAVE_STRSEP. Once you go that way, there's no going back and it's only gonna become more and more.
- tptacek 8y agoPeople have been including strsep in packages since the 1990s (people used to include their own snprintfs, ffs). If you're really this freaked out about it, call your local copy "mystrsep" or something like that. You know what else isn't in POSIX? All the rest of your C code.