â»è³ªååä»ã¯çµäºãã¾ããã(3/22) å ã«ã¾ã¨ã ãªãã¼ã ã§ã¯inodeçªå·ã¯å¤ãããªããã©ã¨ã³ããªã®ä½ç½®ãå¤ãããã¨ãããã ãããä¸çªç¥ãããã£ãæ å ±ãã§ãæç« ã§ã¯ç解ãããã©ãæ¤è¨¼ã³ã¼ãã¯ã©ãæ¸ãã°ããããããã⦠readdirã¯ã¢ãããã¯ãããªããèªã¿è¾¼ã¿ä¸ã«ã¨ã³ããªæ å ±ãå¤ããã°æ¬¡ã®èªã¿è¾¼ã¿ã«å½±é¿ããã man ã«ããreaddir()ã¯éã¹ã¬ããã»ã¼ãã§ããã£ã¦æ¸ãã¦ããã fts_readã¯å®è¡æã«readdirã®çµæã10ä¸ä»¶(ãã¤ï¼)ãã£ãã·ã¥ãã¦ãã¦ãéä¸(ãã¶ã10ä¸ä»¶)ã¾ã§ã¯ã¨ã³ããªã®å¤æ´ã®å½±é¿ãåããªãã£ã½ããéä¸ããreaddirã¨åããã¨ãèµ·ããã ã½ã¼ã¹ã³ã¼ãã®æãèªã¿ã¨æåã観å¯ããéããããªæãã£ã½ããå³å¯ã«è£åãããããã©ç²ããã findã³ãã³ã㯠readdir ã§ã¯ãªããã®ã©ããã¼ã® fts_read ã使ã£ã¦ããã®ã§ã fts_read ã¨
{{#tags}}- {{label}}
{{/tags}}