Re: 'errno' undefined?

Поиск
Список
Период
Сортировка
От Giles Lean
Тема Re: 'errno' undefined?
Дата
Msg-id 1087.963095887@nemeton.com.au
обсуждение исходный текст
Ответ на Re: 'errno' undefined?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Re: fcntl(SETLK) [was Re: 2nd update on TOAST]
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SSL