delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
X-Recipient: | djgpp-workers AT delorie DOT com |
Date: | Sun, 12 Apr 2009 06:13:47 +0300 |
From: | Eli Zaretskii <eliz AT gnu DOT org> |
Subject: | Re: mkstemp() declaration |
In-reply-to: | <000501c9baf3$e9fbc3a0$2602a8c0@computername> |
X-012-Sender: | halo1 AT inter DOT net DOT il |
To: | djgpp-workers AT delorie DOT com |
Message-id: | <83myamo978.fsf@gnu.org> |
References: | <000501c9baf3$e9fbc3a0$2602a8c0 AT computername> |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: "Juan Manuel Guerrero" <juan DOT guerrero AT gmx DOT de> > Date: Sun, 12 Apr 2009 00:21:51 +0200 > > According to <http://www.opengroup.org/onlinepubs/009695399/functions/mkstemp.html> > and <http://www.opengroup.org/onlinepubs/009695399/functions/mktemp.html> mkstemp() > and mktemp() shall be declared stdlib.h and not in stdio.h as they are declared now. > If the function declarations are in the wrong header section let me know. > Any objections to apply the patch below. No objections to adding them to stdlib.h, but I wouldn't remove the prototypes from stdio.h, since that is bad for back compatibility. It does no harm having the declarations in stdio.h as well.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |