On 11 Sep 2010, at 23:44, Christos Zoulas wrote:

> In article <[email protected]>,
> Matthias Scheler  <[email protected]> wrote:
>> 
>> On 6 Sep 2010, at 23:35, Christos Zoulas wrote:
>>> Should we make perror() produce a warning so people will stop using it?
>> 
>> No, as it is not a NetBSD specific API.
> 
> Neither is gets()

Well, but gets() is clearly broken by design, perror(3) isn't. And the obvious 
replacement for gets(3) is fgets(3) which is portable. I don't think that 
warnx(3), etc. are portable.

        Kind regards

-- 
Matthias Scheler                           http://zhadum.org.uk/


Reply via email to