| 143 | } |
| 144 | |
| 145 | void listdir_abs_recursive(std::list<std::string>& output_list, |
| 146 | const std::string& dirname) |
| 147 | // Populates output_list with the absolute path names of all the entries found |
| 148 | // in directory dirname, which should be itself an absolute path. This will |
| 149 | // follow non-symbolic subdirectories and include those too. |
| 150 | { |
| 151 | listdir_internal(output_list, dirname, true, |
| 152 | dirname.empty() || dirname[dirname.length()-1] == '/' ? dirname |
| 153 | : dirname + "/"); |
| 154 | } |
| 155 | |
| 156 | |
| 157 | ssize_t writeall(int fd, const void *buf, size_t nbytes) |
nothing calls this directly
no test coverage detected