This is the mail archive of the cygwin mailing list for the Cygwin 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: bug: unsetenv should return int, not void


> * Christopher Faylor <pts-ab-crefbany-ercyl-cyrnfr@pltjva.pbz> [2005-12-07 15:01:32 -0500]:
>
> On Mon, Dec 05, 2005 at 04:32:57PM -0500, Sam Steingold wrote:
>>http://www.opengroup.org/onlinepubs/009695399/functions/unsetenv.html
>>#include <stdlib.h>
>>int unsetenv(const char *name);
>
> Actually we emulate linux not SUSv3.

interesting.  since linux tries to emulate SUS, maybe it is a good idea
to aim towards SUS directly?

> The linux man page (i.e., the ones that Corinna and I can access)
> seems to contradict its header files, though, so I've modified cygwin
> to use what linux actually does rather than what linux documents.

could you please also report the bug (header - man page discrepancy) to
the linux people?

thanks a lot!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.dhimmi.com/ http://www.savegushkatif.org http://www.iris.org.il
http://truepeace.org http://www.camera.org http://www.openvotingconsortium.org/
I'm out of my mind, but feel free to leave a message...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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