www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/31/02:18:35

Date: Mon, 31 Oct 94 14:08:34 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: peter AT deakin DOT edu DOT au
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: strcat() ?

   > Is there any possibility to find out what libc-functions do, when an
   > argument (pointer) is NULL ?

   The C library string functions have an unstated precondition that
   string pointers are not NULL. It is up to the user to ensure this. 
   strcat() will not test your arguments.

It's not "unstated", it's ANSI.
    --Steve

- Raw text -


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