MCPcopy Create free account
hub / github.com/Singular/Singular / monitor

Function monitor

Singular/febase.cc:48–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47#if 0
48void monitor(char* s, int mode)
49{
50 if (feProt)
51 {
52 fclose(feProtFile);
53 feProt = 0;
54 }
55 if ((s!=NULL) && (*s!='\0'))
56 {
57 feProtFile = myfopen(s,"w");
58 if (feProtFile==NULL)
59 {
60 Werror("cannot open %s",s);
61 feProt=0;
62 }
63 else
64 feProt = mode;
65 }
66}
67#else
68void monitor(void *F, int mode)
69{

Callers 2

jjMONITOR2Function · 0.85
m2_endFunction · 0.85

Calls 2

myfopenFunction · 0.85
WerrorFunction · 0.85

Tested by

no test coverage detected