This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: I would like to add a function C in glibc
- From: Rich Felker <dalias at aerifal dot cx>
- To: libc-alpha at sourceware dot org
- Date: Mon, 17 Sep 2012 09:45:18 -0400
- Subject: Re: I would like to add a function C in glibc
- References: <COL112-W391EEC02DD857A4BCDFFA3CD900@phx.gbl><COL112-W143D167A51A36169197A82CD900@phx.gbl><COL112-W110C86E84CA79B46C8CAEFCD950@phx.gbl>
On Mon, Sep 17, 2012 at 12:49:07PM +0000, Patrice Schoumi wrote:
>
>
> Hello,
>
> It's a good email for send a good idea about a very simple function
> that can make a lot of services ?
The standard library is not really the place for adding random utility
functions, especially if they're simple. In principle, it should
contain mostly either things which are impossible to implement in
non-system-specific ways, or pure library routines (like the math
library) that have very large, complex requirements and are hard to
get right, and where the way to achieve reasonable performance is
sometimes machine-specific (things like memcpy of course also fall
under this category).
With that said, if you do think you have something that merits
inclusion, please state your proposal rather than just asking if it's
okay to do so.
Rich