MCPcopy Create free account
hub / github.com/F-Stack/f-stack / UTIL_isFIFOStat

Function UTIL_isFIFOStat

freebsd/contrib/zstd/programs/util.c:253–261  ·  view source on GitHub ↗

UTIL_isFIFO : distinguish named pipes */

Source from the content-addressed store, hash-verified

251
252/* UTIL_isFIFO : distinguish named pipes */
253int 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
263int UTIL_isLink(const char* infilename)
264{

Callers 2

FIO_openSrcFileFunction · 0.85
UTIL_isFIFOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected