Y
Hacker News
new
|
ask
|
show
|
jobs
by
EdSchouten
2037 days ago
Fun fact: 'str*' is also reserved by POSIX for future extensions. This means that this library completely collides with POSIX.
1 comments
lifthrasiir
2037 days ago
Note that ISO C only reserves /^str[a-z]/ for <string.h> and <stdlib.h>. POSIX's reservation of /^str_/ (note that you are still allowed for identifiers like str8line) is for STREAMS (<stropts.h>) [1], a completely different thing from strings...
[1]
https://en.wikipedia.org/wiki/STREAMS
link
[1] https://en.wikipedia.org/wiki/STREAMS