Home | History | Annotate | Download | only in atree

Lines Matching refs:err

23     int err;
25 err = stat(path.c_str(), &st);
26 return err != 0 || S_ISDIR(st.st_mode);
32 int err = unlink(path.c_str());
33 if (err != 0) {
44 int err;
83 err = remove_file(*it);
84 if (err != 0) {
85 return err;
90 err = remove_recursively(*it);
91 if (err != 0) {
92 return err;
96 err = rmdir(path.c_str());
97 if (err != 0) {
111 int err;
121 err = stat(p.c_str(), &st);
122 if (err != 0) {
123 err = mkdir(p.c_str(), 0770);
124 if (err != 0) {
145 int err;
147 err = copyFile(src.c_str(), dst.c_str(),
149 return err;