2 ms·
I wish the article did more to explain why "the naming for fstat/lstat not consistent with fseek/lseek". I understand it's not written for people like me, but
by mkoryak 3y ago
I wish the article did more to explain why "the naming for fstat/lstat not consistent with fseek/lseek".
I understand it's not written for people like me, but here I am reading it
- thatcks 3y agoThat's mostly explained in Zack Weinberg's Fediverse post/answer: https://hackers.town/@zwol/111684752785283333 https://hackers.town/@zwol/111684752785283333 The one open thing is why BSD picked 'l' for lstat() to mean symbolic links (unless someone has asked one of the BSD people that). Possibly it's just because 'sstat()' would look weird. (I'm the author of the linked-to entry.)