MCPcopy Create free account
hub / github.com/coreutils/coreutils / is_ENOTSUP

Function is_ENOTSUP

src/system.h:987–991  ·  view source on GitHub ↗

Return true if ERR is ENOTSUP or EOPNOTSUPP, otherwise false. This wrapper function avoids the redundant 'or'd comparison on systems like Linux for which they have the same value. It also avoids the gcc warning to that effect. */

Source from the content-addressed store, hash-verified

985 systems like Linux for which they have the same value. It also
986 avoids the gcc warning to that effect. */
987static inline bool
988is_ENOTSUP (int err)
989{
990 return err == EOPNOTSUPP || (ENOTSUP != EOPNOTSUPP && err == ENOTSUP);
991}
992
993
994/* How coreutils quotes filenames, to minimize use of outer quotes,

Callers 7

change_file_ownerFunction · 0.85
copy_catFunction · 0.85
process_fileFunction · 0.85
gobble_fileFunction · 0.85
punch_holeFunction · 0.85
is_CLONENOTSUPFunction · 0.85
infer_scantypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected