Next: Errno Values, Previous: Open Flags, Up: Constants [Contents][Index]

#### mode_t Values

All values are given in octal representation.

      S_IFREG       0100000
      S_IFDIR        040000
      S_IRUSR          0400
      S_IWUSR          0200
      S_IXUSR          0100
      S_IRGRP           040
      S_IWGRP           020
      S_IXGRP           010
      S_IROTH            04
      S_IWOTH            02
      S_IXOTH            01