96 std::list<std::string> dirlist;
98#if defined (OCTAVE_USE_WINDOWS_API)
99 WIN32_FIND_DATAW find_file_data;
101 std::string file_name;
103 HANDLE h_find_file = FindFirstFileW (pattern.c_str (), &find_file_data);
104 if (h_find_file != INVALID_HANDLE_VALUE)
109 dirlist.push_back (file_name);
111 while (FindNextFileW (h_find_file, &find_file_data));
113 FindClose (h_find_file);
119 dirlist.push_back (fname);
static unsigned int max_name_length()
bool open(const std::string &="")