James wrote:
>
> On Sat, 6 Mar 1999, Henk Jan Barendregt wrote:
>
> # > I'm trying to compile a code which uses a header file I haven't heard of
> # > errnos.h
> # >
> # Check your include path or otherwhise i think you've lost it somehow.
> # On my system (kernel 2.0.36) it's in the /usr/include directory
>
> it's called 'errno.h' (the person coding probably spelt it wrong):
>
> bigbird:~$ locate errnos.h
> bigbird:~$ locate errno.h
> /usr/include/bsd/errno.h
> /usr/include/errno.h
>
> and can be found in the normal include directory.
> #include <errno.h>
>
My distribution (RH 5.2) has both files in the /usr/include/ directory
Where errno.h contains ISO C Standard: 4.1.3. Errors constants and
errnos.h contains Linux specific error constants.
errnos.h is included by errno.h
regards,
Henk Jan