{"categories":["C","\u30dd\u30a4\u30f3\u30bf\u5236\u8987\u672c"],"width":"100%","type":"rich","description":"C\u8a00\u8a9e\u30dd\u30a4\u30f3\u30bf\u5b8c\u5168\u5236\u8987 4-2-1realloc\u95a2\u6570\u3067\u5fc5\u8981\u306a\u5206\u3092\u305d\u306e\u90fd\u5ea6\u78ba\u4fdd\u3057\u3066\u3044\u305f\u3089\u30d5\u30e9\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u5316\u306e\u6050\u308c\u304c\u3042\u308b\u306e\u3067\u3001\u4e00\u822c\u7684\u306b\u306frealloc\u3067\u4e00\u6642\u5909\u6570\u3092\u78ba\u4fdd\uff06\u62e1\u5f35\u3057\u4f7f\u3044\u307e\u308f\u3059\u3068\u3044\u3046\u306e\u304c\u6b63\u3057\u3044\u3084\u308a\u65b9\u306e\u3088\u3046\u3067\u3059\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u524d\u306b\u5b9f\u88c5\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u884c\u6bce\u306b\u914d\u5217\u3057\u3066\u53d6\u5f97\u3059\u308b - (void*)P\u306a\u3044\u3068\u3092\u65b0\u3057\u3044\u3084\u308a\u65b9\u3067\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3059\u3002(\u95a2\u6570\u306e\u4ed5\u69d8\u3082\u4e00\u90e8\u5909\u66f4\u3057\u307e\u3059\u3002) #include <stdio.h> #include <stdlib.h> #include <string.h> #define ALLOC_SIZE 256 int readlines (FILE *fp,char **\u2026","author_url":"https://blog.hatena.ne.jp/pknight/","blog_url":"https://pknight.hatenablog.com/","version":"1.0","published":"2009-07-20 16:48:44","image_url":null,"blog_title":"(void*)P\u306a\u3044\u3068","height":"190","title":"\u7d30\u304b\u3044realloc\u306f\u30d5\u30e9\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u5316\u3092\u52a9\u9577\u3059\u308b","url":"https://pknight.hatenablog.com/entry/20090720/1248076124","author_name":"pknight","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpknight.hatenablog.com%2Fentry%2F20090720%2F1248076124\" title=\"\u7d30\u304b\u3044realloc\u306f\u30d5\u30e9\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u5316\u3092\u52a9\u9577\u3059\u308b - (void*)P\u306a\u3044\u3068\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}