www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/01/06:03:19

From: ANTHONY APPLEYARD <A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 1 Nov 1994 08:32:21 GMT
Subject: Re: NULL pointers in (ANSI) string functions [was: strcat()

peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) wrote on Mon 31 Oct 94 10:25:33 EST
(Subject: Re: NULL pointers in (ANSI) string functions [was: strcat() ?]):-

  > Borland compilers tend to print "(null)" when you pass null to printf
rather than crashing or printing garbage.

  So did the Prime mainframe C. I thought it was the regular rule.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019