MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_proc_outcome_str

Function cbm_proc_outcome_str

src/foundation/subprocess.c:85–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85const char *cbm_proc_outcome_str(cbm_proc_outcome_t o) {
86 switch (o) {
87 case CBM_PROC_CLEAN:
88 return "clean";
89 case CBM_PROC_EXIT_NONZERO:
90 return "exit_nonzero";
91 case CBM_PROC_CRASH:
92 return "crash";
93 case CBM_PROC_HANG:
94 return "hang";
95 case CBM_PROC_KILLED:
96 return "killed";
97 case CBM_PROC_SPAWN_FAILED:
98 default:
99 return "spawn_failed";
100 }
101}
102
103typedef enum {
104 CBM_TAIL_MORE = 0,

Calls

no outgoing calls

Tested by

no test coverage detected