view modules/getdtablesize @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
parents 11abef41c621
children
line wrap: on
line source

Description:
getdtablesize() function: return tight upper bound for file descriptor values.

Files:
lib/getdtablesize.c
m4/getdtablesize.m4

Depends-on:
unistd
extensions
msvc-inval      [test $HAVE_GETDTABLESIZE = 0]

configure.ac:
gl_FUNC_GETDTABLESIZE
if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
  AC_LIBOBJ([getdtablesize])
  gl_PREREQ_GETDTABLESIZE
fi
gl_UNISTD_MODULE_INDICATOR([getdtablesize])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Eric Blake