| 423 | return attributes != INVALID_FILE_ATTRIBUTES && !(attributes & FILE_ATTRIBUTE_DIRECTORY) ? 1 : 0; |
| 424 | #else |
| 425 | struct stat sb; |
| 426 | if(stat(path, &sb) == -1) |
| 427 | return 0; |
| 428 | return S_ISREG(sb.st_mode) ? 1 : 0; |
no outgoing calls
no test coverage detected