Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!infoweb-news!news.fukuoka.infoweb.or.jp!newshost.ryukyu.ad.jp!sour!merope!void
From: void@merope.opus.or.jp (Kusakabe Youichi)
Subject: Re: [Q] error in malloc
Message-ID: <1996Aug10.034922.20048@merope.opus.or.jp>
Organization: Macintosh User Group PLEIADES in opus (Okinawa Personal Unix Society)
X-Newsreader: TIN [version 1.2 PL0]
References: <KOIE.96Aug9215216@chanchan.suri.co.jp>
Date: Sat, 10 Aug 1996 03:49:22 GMT
Lines: 19
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:2748
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=2748&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

KOIE Hidetaka (koie@chanchan.suri.co.jp) wrote:
: $B$b$H$b$H$N5DO@$@$C$?(Bif$BJ8$N$J$+$K(Bmalloc$B$,$"$k>l9g$G$O(B
:     if ((ptr = malloc(MEM_SIZE)) == NULL) {
:        $B!D(B
:     }
: $B$h$j$b(B
:     if (ptr == NULL) {
:        $B!D(B
:     }
: $B$NJ}$,0[>o7O$r$"$H$GDI2C$9$k>l9g$K$A$g$C$H$P$+$j3Z$J$N$G(B
: $B9%$s$GMQ$$$^$9!#(B

$B!V0[>o7O$rDI2C$9$k$N$K3Z!W$H$$$&0UL#$,ITL@3N$G$9!#(B
$B$=$l$O$I$&$$$&0UL#$G$9$+(B?

  $B%X(B_$B%X(B   ------------------------
$B%_!&!&(B $B%_(B  void@merope.opus.or.jp
 (  $B!k(B )$B!A(B            $BF|2<ItM[0l(B
----------------------------------
