Date: Sun, 22 Nov 1998 10:04:21 -0600 (CST) From: nectar@FreeBSD.ORG To: hackers@FreeBSD.ORG Subject: errno Message-ID: <XFMail.981122100421.nectar@FreeBSD.ORG>
next in thread | raw e-mail | index | archive | help
The following code snippet won't compile on -CURRENT, or on -STABLE with
_THREAD_SAFE defined due to ``errno'' being a macro in <errno.h>:
#include <errno.h>
struct example {
int errno;
};
I understand why, but is this code incorrect ANSI C? I'm just
trying to find a reference that prohibits this use.
Thanks,
Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.981122100421.nectar>
