{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080721%2Fp4\" title=\" opendir\u30fbreaddir\u30fbclosedir\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","title":" opendir\u30fbreaddir\u30fbclosedir\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b","version":"1.0","categories":["C\u8a00\u8a9e","WINDOWS"],"provider_url":"https://hatena.blog","image_url":null,"blog_title":"so what","url":"https://so-wh.at/entry/20080721/p4","published":"2008-07-21 00:00:01","blog_url":"https://so-wh.at/","type":"rich","description":"\u7a7a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u52d5\u4f5c\u304c\u9055\u3044\u305d\u3046\u306a\u2026\u3002 #include <stdio.h> #include <errno.h> #include \"dirent.h\" int main() { DIR *dir; struct dirent *entry; if ((dir = opendir(\"/usr/local\")) == NULL) { perror(\"opendir(3)\"); exit(1); } entry = readdir(dir); while (entry) { puts(entry->d_name); entry = readdir(dir); } closedir(dir); r\u2026","author_name":"winebarrel","width":"100%","author_url":"https://blog.hatena.ne.jp/winebarrel/"}