Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!foretune!lkbreth!merope!void
From: void@merope.pleiades.or.jp (Kusakabe Youichi)
Subject: Re: [Teach me]ptrchk()?
Message-ID: <1995Jan28.145700.23316@merope.pleiades.or.jp>
Organization: Macintosh User Group PLEIADES
X-Newsreader: TIN [version 1.2 PL0]
References: <YOSHIAKI.95Jan28202835@is13e1s02.jaist.ac.jp>
Date: Sat, 28 Jan 1995 14:57:00 GMT
Lines: 16
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:1774
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=1774&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.

Itou Yoshiaki (yoshiaki@jaist.ac.jp) wrote:
:   temp1 = (BALLLIST)malloc(sizeof(BALL));
:   ptrchk(temp1);
:   ^^^^^^^^^^^^^^
:   temp1->.... = .......;

$B$I$&$$$&F/$-$r$9$k$b$N$+CN$j$^$;$s$,!"$=$NK\$N%W%m%0%i%`FH<+$N$b$N$G$O(B?
$BAGD>$K(B
if ((temp1 = (BALLLIST)malloc(sizeof(BALL))) == NULL)
error(); /* $B%(%i!<=hM}$r$9$k(B */
$B$H=q$$$?J}$,$h$5$=$&$J5$$,$7$^$9!#(B

  $B%X(B_$B%X(B   ----------------------------
$B%_!&!&(B $B%_(B  void@merope.pleiades.or.jp
 (     )$B!A(B          $B$/$5$+$Y$h$&$$$A(B
--------------------------------------
