{"title":"valgrind \u306e track-fds=yes \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u6642\u306b fd=0,1,2 \u304c open \u3055\u308c\u305f\u307e\u307e\u3060\u3068\u6307\u6458\u3055\u308c\u308b\u306e\u3092\u3069\u3046\u306b\u304b\u3059\u308b\u65b9\u6cd5","version":"1.0","categories":[],"provider_url":"https://hatena.blog","image_url":null,"blog_title":"bearmini's blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbearmini.hatenablog.com%2Fentry%2F2014%2F04%2F23%2F155632\" title=\"valgrind \u306e track-fds=yes \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u6642\u306b fd=0,1,2 \u304c open \u3055\u308c\u305f\u307e\u307e\u3060\u3068\u6307\u6458\u3055\u308c\u308b\u306e\u3092\u3069\u3046\u306b\u304b\u3059\u308b\u65b9\u6cd5 - bearmini&#39;s blog\" 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","description":"\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7121\u5bb3\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066 valgrind \u306b\u304b\u3051\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002main.c int main() { return 0; } $ gcc main.c $ valgrind --track-fds=yes ./a.out ==2227== Memcheck, a memory error detector ==2227== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==2227== Using Valgrind-3.7.0 and LibVEX; rerun with -h fo\u2026","author_name":"bearmini","width":"100%","author_url":"https://blog.hatena.ne.jp/bearmini/","blog_url":"https://bearmini.hatenablog.com/","published":"2014-04-23 15:56:32","url":"https://bearmini.hatenablog.com/entry/2014/04/23/155632","type":"rich"}