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

Function addHandler

freebsd/contrib/zstd/programs/fileio.c:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 exit(2);
144}
145static void addHandler(char const* dstFileName)
146{
147 if (UTIL_isRegularFile(dstFileName)) {
148 g_artefact = dstFileName;
149 signal(SIGINT, INThandler);
150 } else {
151 g_artefact = NULL;
152 }
153}
154/* Idempotent */
155static void clearHandler(void)
156{

Callers 2

FIO_decompressDstFileFunction · 0.85

Calls 1

UTIL_isRegularFileFunction · 0.85

Tested by

no test coverage detected