MCPcopy Create free account
hub / github.com/ioi/isolate / meta_open

Function meta_open

util.c:321–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319static FILE *metafile;
320
321void
322meta_open(const char *name)
323{
324 if (!strcmp(name, "-"))
325 {
326 metafile = stdout;
327 return;
328 }
329 switch_fsid_to_caller();
330 metafile = fopen(name, "w");
331 switch_fsid_back();
332 if (!metafile)
333 die("Failed to open metafile '%s'",name);
334 keep_fd(fileno(metafile));
335}
336
337void
338meta_close(void)

Callers 1

mainFunction · 0.85

Calls 3

switch_fsid_to_callerFunction · 0.85
switch_fsid_backFunction · 0.85
keep_fdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…