On Tue, Feb 28, 2012 at 07:25:44AM -0800, Roland McGrath wrote: > Is dirfd in POSIX? If it isn't, then __dirfd is right (since glob is in > POSIX). If it is, then just libc_hidden_proto is right. I have POSIX.1-2008 and dirfd is there. Marek