31 #if defined (HAVE_CONFIG_H)
42 return opendir (dname);
48 struct dirent *d_ent = readdir ((DIR *) dir);
50 return d_ent ? d_ent->d_name : 0;
56 rewinddir ((DIR *) dir);
62 return closedir ((DIR *) dir);
74 #if ! defined (_POSIX_NAME_MAX)
75 # define _POSIX_NAME_MAX 255
78 #if ! defined (NAME_MAX)
79 # define NAME_MAX _POSIX_NAME_MAX
unsigned int octave_name_max_wrapper(void)
void octave_rewinddir_wrapper(void *dir)
char * octave_readdir_wrapper(void *dir)
void * octave_opendir_wrapper(const char *dname)
int octave_closedir_wrapper(void *dir)