{"type":"rich","description":"\u4f8b\u306b\u3088\u3063\u3066CentOS 6.5 typo\u306b\u3088\u308abad file descriptor\u304c\u51fa\u305f\u308a\u3057\u3066\u60b2\u3057\u304b\u3063\u305f \u30a8\u30e9\u30fc\u306e\u8a73\u7d30\uff08JP1/Advanced Shell\u56fa\u6709\u306e\u5834\u5408\uff09 /* cp1.c * cp\u306e\u30d0\u30fc\u30b8\u30e7\u30f31 uses read and write with tunable buffer size * \u4f7f\u3044\u65b9 cp1 src test */ #include <stdio.h> #include <unistd.h> #include <fcntl.h> #define BUFFERSIZE 4096 #define COPYMODE 0644 void oops(char *, char\u2026","version":"1.0","title":"cp\u81ea\u4f5c","url":"https://www.shigemk2.com/entry/2014/01/21/cp%E8%87%AA%E4%BD%9C","height":"190","author_url":"https://blog.hatena.ne.jp/shigemk2/","provider_url":"https://hatena.blog","image_url":"http://ecx.images-amazon.com/images/I/51wNVx6X2RL._AA180_.jpg","blog_url":"https://www.shigemk2.com/","author_name":"shigemk2","width":"100%","provider_name":"Hatena Blog","categories":["\u8aad\u66f8\u30ce\u30fc\u30c8"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2014%2F01%2F21%2Fcp%25E8%2587%25AA%25E4%25BD%259C\" title=\"cp\u81ea\u4f5c - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"by shigemk2","published":"2014-01-21 00:28:21"}