| 42 | // ---------------------------------------------------------------------------------------- |
| 43 | |
| 44 | std::string get_current_dir ( |
| 45 | ) |
| 46 | { |
| 47 | char buf[1024]; |
| 48 | if (getcwd(buf,sizeof(buf)) == 0) |
| 49 | { |
| 50 | return std::string(); |
| 51 | } |
| 52 | else |
| 53 | { |
| 54 | return std::string(buf); |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | // ---------------------------------------------------------------------------------------- |
| 59 |
no outgoing calls
no test coverage detected