| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 31 Dec 2000 16:44:08 -0500 |
| Message-Id: | <200012312144.QAA31167@envy.delorie.com> |
| X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | djgpp AT delorie DOT com |
| In-reply-to: | <92o411$em$1@schur.institut.math.jussieu.fr> |
| (jmichel AT schur DOT institut DOT math DOT jussieu DOT fr) | |
| Subject: | Re: Bug in djgpp libc |
| References: | <92o411$em$1 AT schur DOT institut DOT math DOT jussieu DOT fr> |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
Try this instead:
#include <stdio.h>
#include <errno.h>
main()
{
errno = 0;
printf("\032\n");
fprintf(stderr, "%s\n", strerror(errno));
}
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |