view modules/dirfd @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
parents 9ea347c6fce2
children 4de72064cdfe
line wrap: on
line source

Description:
Retrieving the file descriptor of an open directory stream.  (Unportable.)

Files:
lib/dirfd.c
m4/dirfd.m4

Depends-on:
dirent
extensions
errno           [test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no]

configure.ac:
gl_FUNC_DIRFD
if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
  AC_LIBOBJ([dirfd])
  gl_PREREQ_DIRFD
fi
gl_DIRENT_MODULE_INDICATOR([dirfd])

Makefile.am:

Include:
<dirent.h>

License:
LGPLv2+

Maintainer:
Jim Meyering