19 std::vector<std::string> ret;
21 glob(pat.c_str(),GLOB_TILDE,NULL,&glob_result);
23 for (
unsigned int i=0; i<glob_result.gl_pathc; ++i){
24 ret.push_back(
std::string(glob_result.gl_pathv[i]));
27 globfree(&glob_result);
std::vector< std::string > globbing(const std::string &pat)