_opendir vs opendir

Shaun Jackman sjackman@gmail.com
Sun Jul 31 00:16:00 GMT 2005


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



More information about the Newlib mailing list