[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] assumed availability of unistd.h and other header files
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] assumed availability of unistd.h and other header files |
Date: |
Mon, 23 Aug 2004 23:02:11 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
"Oskar Liljeblad" <address@hidden> writes:
> utime.c, poll.c, getpass.[ch], getdomainname.c, argp-parse.c
> assume that unistd.h exists without checking for it.
> In some modules fcntl.h is assumed, in some it is not.
This suggests that those modules haven't been ported to ancient hosts.
It's probably not worth the aggravation of porting them, unless
someone needs it. I am a bit surprised that argp-parse.c needs
unistd.h.
> sys/stat.h and sys/types.h are always assumed to exist.
> What standard are they originally from?
A defacto one: Unix Version 7. Here are the man pages:
http://cm.bell-labs.com/7thEdMan/
It's still a useful reference for portability nerds.