| 485 | } |
| 486 | |
| 487 | char *c_realpath(const char *path, char *real) |
| 488 | { |
| 489 | if (_fullpath(real, path, C_PATH_MAX) != NULL) { |
| 490 | DWORD attributes = GetFileAttributes(real); |
| 491 | if (attributes != 0xFFFFFFFF) { |
| 492 | return real; |
| 493 | } |
| 494 | } |
| 495 | return C_NULL; |
| 496 | } |
| 497 | |
| 498 | #endif |
no outgoing calls
no test coverage detected