3 ms·
Early header compression.
by mixmastamyk 5y ago
Early header compression.
- saagarjha 5y agoTook a leaf out of the UNIX creat/umount handbook, clearly.
- int_19h 5y agoumount() is actually legit - early C limited extern identifiers to 6 chars (or rather it would allow more than that, but the rest would be silently ignored for linking purposes), hence why we also have strlen() etc. creat() is weird because create() would fit that constraint just fine, so there's no obvious reason as to why it had to be shortened. The 1978 K&R C book actually notes it with [sic].
- mike_hock 5y agoWhen you're dumping loads of short, generic, common words into the global namespace (well ... the only namespace in C), it's nice to have them misspelled so user code is still free to use the real word.