28 #if defined (HAVE_CONFIG_H) 39 return opendir (dname);
45 struct dirent *d_ent = readdir ((DIR *) dir);
47 return d_ent ? d_ent->d_name : 0;
53 rewinddir ((DIR *) dir);
59 return closedir ((DIR *) dir);
71 #if ! defined (_POSIX_NAME_MAX) 72 # define _POSIX_NAME_MAX 255 75 #if ! defined (NAME_MAX) 76 # define NAME_MAX _POSIX_NAME_MAX unsigned int octave_name_max_wrapper(void)
int octave_closedir_wrapper(void *dir)
void * octave_opendir_wrapper(const char *dname)
void octave_rewinddir_wrapper(void *dir)
char * octave_readdir_wrapper(void *dir)