KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've used strpbrk() occasionally while doing low-level string work in C, but I've never been able to figure out what it stands for. I've always pronounced it internally in my head as "stir p bark", but that's never quite felt right. It doesn't have an etymology as obvious as any of the other string functions, e.g. strchr ( str ing ch a r acter) or strspn ( str ing sp a n ). I vaguely recall reading somewhere that all of the original standard library functions were limited to 7-character names either to remain compatible with Fortran, or because in the original C standard, identifiers longer than 7 characters were considered equivalent to their 7-character prefix or something. Can anyone confirm/deny/clarify this?
Tags (comma-separated)
Save Edits
Cancel