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

Function is_terminal_error

src/copy.c:220–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 and even though !is_CLONENOTSUP (ERR). */
219
220static bool
221is_terminal_error (int err)
222{
223 return err == EIO || err == ENOMEM || err == ENOSPC || err == EDQUOT;
224}
225
226/* Perform the O(1) btrfs clone operation, if possible.
227 Upon success, return 0. Otherwise, return -1 and set errno. */

Callers 1

handle_clone_failFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected