From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: atoi() and ANSI C ???? Date: Mon, 4 Jun 2001 01:40:47 -0400 Organization: Global Crossing Telecommunications Lines: 28 Message-ID: <9ff6th$1d8s$1@node21.cwnet.roc.gblx.net> References: <9ff685$cn AT netnews DOT hinet DOT net> NNTP-Posting-Host: 209-130-221-169.nas1.roc.gblx.net X-Trace: node21.cwnet.roc.gblx.net 991633137 46364 209.130.221.169 (4 Jun 2001 05:38:57 GMT) X-Complaints-To: abuse AT gblx DOT net NNTP-Posting-Date: Mon, 4 Jun 2001 05:38:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Gorden" wrote in message news:9ff685$cn AT netnews DOT hinet DOT net... > I try Borland C 3.1 a function > atoi(NULL); > the function return 0 > > But In The Djgpp > atoi(NULL); > Is dump error massage on screen > The memory Pointer NULL(0) > I have see the source code > So In Djgpp Can't use atoi(NULL) > > Right? Even if there's a bug in either of tc/bc or gcc, what would be the purpose of supplying a NULL pointer to atoi()? Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/