This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fcntl.h should provide mode_t, off_t and pid_t


> the Single Unix specification says that <fcntl.h> should provide
> definitions for mode_t, off_t and pid_t.  The attached patched makes it
> do so if not already.

io/fcntl.h already has, even in the context of your diff:

>  /* For XPG all symbols from <sys/stat.h> should also be available.  */
>  #ifdef __USE_XOPEN
>  # include <sys/stat.h>

That covers off_t and mode_t.  Can you verify that pid_t is really missing
on Linux configurations?  If it is missing only in Hurd configurations, we
should figure out how the difference arises before changing anything.


Thanks,
Roland
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]