MCPcopy Create free account
hub / github.com/coreutils/coreutils / printv

Function printv

src/expr.c:382–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380/* Print VALUE V. */
381
382static void
383printv (VALUE *v)
384{
385 switch (v->type)
386 {
387 case integer:
388 mpz_out_str (stdout, 10, v->u.i);
389 putchar ('\n');
390 break;
391 case string:
392 puts (v->u.s);
393 break;
394 default:
395 unreachable ();
396 }
397}
398
399/* Return true if V is a null-string or zero-number. */
400

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected