Re: How does one get the description of an errno value

Akos Marton <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
On Sun, Mar 15, 2009 at 4:26 PM, Tiago Maluta <[email protected]> wrote:
> Akos Marton wrote:
>> hi,
>>
>> /usr/include/linux/err.h on my PC with the value 4095.
>>
>> mAkos
>>
>
> What lib contains err.h?
> My /usr/include/linux contains only errno.h
>
> I'm using glibc 2.8

I'm using glibc 2.7
You can do a find in your /usr/include/ as
sh$ find /usr/include/ -name "*h" -exec cat {} + | grep MAX_ERRNO
if there are some output, check which file contains this macro.

mAkos
-- 
People seldom notice clothes, if you wear a big smile.
OLVASD: http://napirajz.hu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.