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

Function file_failure

src/ls.c:2919–2924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2917 errno is set appropriately for the failure. */
2918
2919static void
2920file_failure (bool serious, char const *message, char const *file)
2921{
2922 error (0, errno, message, quoteaf (file));
2923 set_exit_status (serious);
2924}
2925
2926/* Request that the directory named NAME have its contents listed later.
2927 If REALNAME is nonzero, it will be used instead of NAME when the

Callers 3

print_dirFunction · 0.85
gobble_fileFunction · 0.85
get_link_nameFunction · 0.85

Calls 1

set_exit_statusFunction · 0.85

Tested by

no test coverage detected