Subject: Re: asprintf prototype
To: Johan Danielsson <joda@pdc.kth.se>
From: Gandhi woulda smacked you <greywolf@starwolf.com>
List: tech-userlevel
Date: 08/16/1999 19:44:08
On 16 Aug 1999, Johan Danielsson wrote:

# Ignatios Souvatzis <ignatios@cs.uni-bonn.de> writes:
# 
# > I've been told: because it destroys contents refered to by the pointer.
# 
# I guess that's the simple explanation, but if you are not allowed to
# use the data after calling free, does it really matter that it
# `destroys' it? Philosophical question.

I think it might be because if you use a (const void *) in a function and
start doing things with it, that (void *) isn't (const) anymore.

That's just a guess.

# 
# /Johan
# 


				--*greywolf;
--
NetBSD: We Stay Up.