view modules/getdtablesize @ 18995:11abef41c621

getdtablesize: Add minimal support for OpenVMS. Reported by John E. Malmberg <wb8tyw@qsl.net>. * modules/getdtablesize (Description): Fix. * lib/getdtablesize.c: Fix comment. * m4/getdtablesize.m4 (gl_FUNC_GETDTABLESIZE): Don't replace the getdtablesize() function, even though the test fails. * doc/glibc-functions/getdtablesize.texi: Reference SUSv2. Describe limitation on OpenVMS.
author Bruno Haible <bruno@clisp.org>
date Sat, 15 Jul 2017 17:00:37 +0200
parents 1f14c6dd175d
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