Mercurial > hg > octave-nkf > gnulib-hg
view doc/posix-headers/sys_resource.texi @ 17930:71aba7a74c52
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 22 Feb 2015 19:07:46 -0800 |
parents | fc64f4cef353 |
children |
line wrap: on
line source
@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