Re: 'errno' undefined? - Mailing list pgsql-hackers

From Giles Lean
Subject Re: 'errno' undefined?
Date
Msg-id 1087.963095887@nemeton.com.au
Whole thread Raw
In response to Re: 'errno' undefined?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Where does errno get declared in your system's headers?

The ANSI C standard says errno is declared in <errno.h>.  Since ANSI C
also says that the standard header files are independent, it is poor
form for your system to have included <errno.h> via <stdlib.h>.

(Yeah, since you've already added <errno.h> this is a bit pedantic.)

Ciao,

Giles



pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: fcntl(SETLK) [was Re: 2nd update on TOAST]
Next
From: Tom Lane
Date:
Subject: Re: SSL