MCPcopy Create free account
hub / github.com/OpenIPC/firmware / vmsg

Function vmsg

general/package/comgt/src/comgt.c:181–195  ·  view source on GitHub ↗

Log message if verbose is on */

Source from the content-addressed store, hash-verified

179
180/* Log message if verbose is on */
181void vmsg(char *text) {
182 time_t t;
183 char *ct;
184 if(verbose) {
185 if(lastcharnl==0) {
186 fprintf(stderr,"\n");
187 lastcharnl=1;
188 }
189 t=time(0);
190 ct=ctime(&t);
191 fprintf(stderr,"comgt %c%c:%c%c:%c%c -> %s\n",
192 ct[11],ct[12],ct[14],ct[15],ct[17],ct[18],
193 text);
194 }
195}
196
197/* Skip to next statement */
198void skipline(void) {

Callers 9

printwhereFunction · 0.85
dodumpFunction · 0.85
serrorFunction · 0.85
doprintFunction · 0.85
docloseFunction · 0.85
opengtFunction · 0.85
opendeviceFunction · 0.85
doscriptFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected