POV-Ray : Newsgroups : povray.off-topic : Random C craziness : Re: Random C craziness Server Time
7 Sep 2024 11:25:41 EDT (-0400)
  Re: Random C craziness  
From: Darren New
Date: 29 Jul 2008 15:39:00
Message: <488f71d4$1@news.povray.org>
Warp wrote:
>   (Another less fancy way would be to return a null pointer from the
> function, in which case the program will end with a segmentation fault.)

Well, maybe if you're lucky. :-) Otherwise, it just goes off happily 
executing whatever is at memory address zero (or whatever NULL maps to).

-- 
Darren New / San Diego, CA, USA (PST)
  Helpful housekeeping hints:
   Check your feather pillows for holes
    before putting them in the washing machine.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.