{"image_url":null,"categories":["C\u8a00\u8a9e"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2019%2F04%2F14%2F210000\" title=\"strncpy - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#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>","title":"strncpy","provider_name":"Hatena Blog","url":"https://bg1.hatenablog.com/entry/2019/04/14/210000","version":"1.0","author_url":"https://blog.hatena.ne.jp/BG1/","type":"rich","provider_url":"https://hatena.blog","description":"strncpy\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u6570\u30b3\u30d4\u30fc\u3059\u308b\u3002Man page of STRCPY C\u8a00\u8a9e\u95a2\u6570\u8f9e\u5178 - strncpy\u30b3\u30d4\u30fc\u5143\u306en\u6587\u5b57\u76ee\u307e\u3067\u306bNULL\u7d42\u7aef\u304c\u7121\u3044\u5834\u5408\u306fNULL\u7d42\u7aef\u3055\u308c\u306a\u3044\u3002 \u30b3\u30d4\u30fc\u5143\u6587\u5b57\u5217\u304cn\u3088\u308a\u77ed\u3044\u5834\u5408\u306f\u3001NULL\u7d42\u7aef\u3055\u308c\u308b\u3002\"VWXYZ\"\u3067n\u304c3\u306e\u5834\u5408\u306f\u3001NULL\u7d42\u7aef\u3055\u308c\u306a\u3044\u3002 \"12\"\u3067n\u304c10\u306e\u5834\u5408\u306f\u3001NULL\u7d42\u7aef\u3055\u308c\u308b\u3002 $ vi strncpy.c $ gcc strncpy.c -o strncpy $ ./strncpy str1 = ABCDE str1 = VWXDE str1 = 12 $\u78ba\u304b\u306b\u305d\u3046\u306a\u308b\u3002Sample/c/strncpy/\u2026","height":"190","published":"2019-04-14 21:00:00","blog_url":"https://bg1.hatenablog.com/","author_name":"BG1","blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","width":"100%"}