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

Function cbm_proc_outcome_str

src/foundation/subprocess.c:86–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected