タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

TipsとUnixに関するnminoruのブックマーク (1)

  • PATH_MAX Is Tricky

    One of the defining features of Unix is its hierarchical filesystem: directories on Unix systems can contain other directories, without a limit to the depth of the nesting. This isn't a big deal nowadays, but Unix was one of the first operating systems to feature a hierarchical filesystem. And believe it or not, developers today are still writing code today that misuses PATH_MAX, and doesn't handl

    nminoru
    nminoru 2017/04/26
    ファイルパスの最大長はPATH_MAXよりもpathconf()使えYo
  • 1