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

Function errnoize

src/ln.c:114–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 This is zero if STATUS is zero, and is errno otherwise. */
113
114static int
115errnoize (int status)
116{
117 return status < 0 ? errno : 0;
118}
119
120/* Return FROM represented as relative to the dir of TARGET.
121 The result is malloced. */

Callers 1

atomic_linkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected