| 187 | } |
| 188 | |
| 189 | static bool getCurrentPath(char* _out, uint32_t* _inOutSize) |
| 190 | { |
| 191 | uint32_t len = *_inOutSize; |
| 192 | if (NULL != pwd(_out, len)) |
| 193 | { |
| 194 | *_inOutSize = strLen(_out); |
| 195 | return true; |
| 196 | } |
| 197 | |
| 198 | return false; |
| 199 | } |
| 200 | |
| 201 | static bool getExecutablePath(char* _out, uint32_t* _inOutSize) |
| 202 | { |