{"provider_url":"https://hatena.blog","published":"2014-05-16 00:00:01","image_url":null,"description":"\u30d0\u30c3\u30d5\u30a1\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u306f\u5927\u4e8b\u3067\u3059\u306d\u3002\u901a\u4fe1\u76f8\u624b\u306e\u6319\u52d5\u304c\u602a\u3057\u3044\u3068\u304d\u306f\u7279\u306b\u3002 // Linux\u306e\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e00\u90e8 #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <termios.h> #include <unistd.h> ... // \u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u306e\u30cf\u30f3\u30c9\u30e9 int handle; if((handle = open(\"/dev/tty0\", O_RDWR | O_NOCTTY | O_NONBLOCK))==-1){ printf(\"Can not open /dev/tty0\\n\")\u2026","author_url":"https://blog.hatena.ne.jp/licheng/","provider_name":"Hatena Blog","type":"rich","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"version":"1.0","title":"\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306e\u30d0\u30c3\u30d5\u30a1\u306e\u30d5\u30e9\u30c3\u30b7\u30e5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flipoyang.hatenablog.com%2Fentry%2F20140516%2Fp2\" title=\"\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306e\u30d0\u30c3\u30d5\u30a1\u306e\u30d5\u30e9\u30c3\u30b7\u30e5 - \u6ef4\u4e86\u5eb5\u65e5\u9332\" 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":"\u6ef4\u4e86\u5eb5\u65e5\u9332","height":"190","author_name":"licheng","blog_url":"https://lipoyang.hatenablog.com/","url":"https://lipoyang.hatenablog.com/entry/20140516/p2","width":"100%"}