On Mon, 22 Sep 2008 02:31:57 +0100, RW <[EMAIL PROTECTED]> wrote:
>Nash Nipples <[EMAIL PROTECTED]> wrote:
>>Giorgos Keramidas wrote:
>>>     char *
>>>     function(void)
>>>     {
>>>         char buffer[100];
>>>
>>>         return buffer;
>>>     }
>>
>> that is an easier approach because you get warned on passing an
>> address to a local variable
>
> This was an example of how to generate a failure, it's not an
> approach.

Yes.  It was *only* written to illustrate how a particular failure could
happen.  I wouldn't recommend this to anyone as a programming approach :)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to