This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: clearenv for newlib


On Fri, 2007-09-14 at 10:41 -0500, Joel Sherrill wrote:
> Hi,
> 
> I am porting a library to RTEMS that is calling clearenv().
> I am willing to implement one for newlib.
Frankly speaking, I am opposed to letting clearenv() into newlib,
because it is a non-standardized, non-documented function.

>From Linux's man-pages:

       Various  Unix variants (DG/UX, HP-UX, QNX, ...).  POSIX.9 (bindings for
       FORTRAN77).  POSIX.1-1996 did not accept clearenv() and  putenv(),  but
       changed  its mind and scheduled these functions for some later issue of
       this standard (cf. B.4.6.1).  However, POSIX.1-2001 only adds putenv(),
       and rejected clearenv().

Ralf




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]