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

Function two_arguments

src/test.c:565–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565static bool
566two_arguments (void)
567{
568 bool value;
569
570 if (streq (argv[pos], "!"))
571 {
572 advance (false);
573 value = ! one_argument ();
574 }
575 else if (argv[pos][0] == '-'
576 && argv[pos][1] != '\0'
577 && argv[pos][2] == '\0')
578 {
579 value = unary_operator ();
580 }
581 else
582 beyond ();
583 return (value);
584}
585
586static bool
587three_arguments (void)

Callers 2

three_argumentsFunction · 0.85
posixtestFunction · 0.85

Calls 4

advanceFunction · 0.85
one_argumentFunction · 0.85
unary_operatorFunction · 0.85
beyondFunction · 0.85

Tested by

no test coverage detected