This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
_opendir vs opendir
- From: Shaun Jackman <sjackman at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Sat, 30 Jul 2005 18:16:11 -0600
- Subject: _opendir vs opendir
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
unix/getcwd.c and unix/ttyname.c both call _opendir, whereas
posix/scandir.c calls opendir. posix/opendir.c defines opendir, but
not _opendir. include/_syslist.h may redefine _opendir to opendir if
MISSING_SYSCALL_NAMES is defined.
With all that said, should unix/*.c call opendir instead of _opendir?
I couldn't find a system in newlib or libgloss that defines _opendir.
Thanks,
Shaun