tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: reallocarr(3) cleanup




> Sent: Tuesday, March 17, 2015 at 11:00 PM
> From: "Joerg Sonnenberger" <joerg%britannica.bec.de@localhost>
> To: tech-userlevel%NetBSD.org@localhost
> Subject: Re: reallocarr(3) cleanup
>
> On Tue, Mar 17, 2015 at 11:56:35PM +0100, Kamil Rytarowski wrote:
> > - merge reallocarr.3 to malloc.3 for consistency,
> 
> No. Don't put standard and non-standard functions in the same man page.
> 
This is actually in the namespace of standard NetBSD functions.
For this reason I removed occurrences of reallocarray(3) from it (they were in reallocarr(3)).

I was following the rule of strtol(3), which includes strtoi(3).

Having this class of functions solves problems of duplicate history, functions referencing each other and maintaining examples. Currently the examples for the same function are in both files.

> Joerg
> 


Home | Main Index | Thread Index | Old Index