UTIL_isFIFO : distinguish named pipes */
| 251 | |
| 252 | /* UTIL_isFIFO : distinguish named pipes */ |
| 253 | int UTIL_isFIFOStat(const stat_t* statbuf) |
| 254 | { |
| 255 | /* macro guards, as defined in : https://linux.die.net/man/2/lstat */ |
| 256 | #if PLATFORM_POSIX_VERSION >= 200112L |
| 257 | if (S_ISFIFO(statbuf->st_mode)) return 1; |
| 258 | #endif |
| 259 | (void)statbuf; |
| 260 | return 0; |
| 261 | } |
| 262 | |
| 263 | int UTIL_isLink(const char* infilename) |
| 264 | { |
no outgoing calls
no test coverage detected