void *opendir(char *name) { if (smbw_path(name)) { return (void *)smbw_opendir(name); } return (void *)real_opendir(name); }
DIR *opendir(const char *name) { check_init("opendir"); if (smbw_path((char *) name)) { return (void *)smbw_opendir((char *) name); } return (* smbw_libc.opendir)((char *) name); }