3

According to POSIX, sys/stat.h shall define a bunch of macro constants such as S_IRUSR. The "R" part obviously means "Readable" and the "USR" part "User" (the owner of the file.) Then what about the S_I part?

4
  • 1
    The etymology tag question should go to Meta. Commented Jul 13, 2017 at 11:20
  • 2
    S for "stat", and I for "inode"? It's common to prefix identifiers to avoid confusion, and this part is probably very old ... Commented Jul 13, 2017 at 11:31
  • To avoid confusion and clashes with other values, since those are #defined constants and they don't have separate namespaces Commented Jul 13, 2017 at 11:33
  • 1
    Related question: unix.stackexchange.com/questions/224701/… Commented Jul 14, 2017 at 6:07

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.