1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/posix-headers/sys_resource.texi
Paul Eggert cc0a1a96a5 Android doesn't define RLIM_SAVED_*
Portability problem reported by Kevin Cernekee in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00122.html
* doc/posix-headers/sys_resource.texi (sys/resource.h):
Mention the portability problem.
* lib/getdtablesize.c (RLIM_SAVED_CUR, RLIM_SAVED_MAX):
Define if not defined.
* m4/dup2.m4 (gl_FUNC_DUP2):
* m4/fcntl.m4 (gl_FUNC_FCNTL):
Likewise.
2015-02-22 19:08:12 -08:00

26 lines
699 B
Plaintext

@node sys/resource.h
@section @file{sys/resource.h}
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html}
Gnulib module: sys_resource
Portability problems fixed by Gnulib:
@itemize
@item
This header file is missing on some platforms:
mingw, MSVC 9.
@item
On some platforms, this header file requires that <sys/types.h> and
<sys/time.h> already be included:
FreeBSD 5.0.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
On some platforms, this header does not define some or all of the
symbolic constants required by POSIX@. For example, Android does not
define @code{RLIM_SAVED_CUR} or @code{RLIM_SAVED_MAX}.
@end itemize