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

Function and

src/test.c:513–525  ·  view source on GitHub ↗

* and: * term * term '-a' and */

Source from the content-addressed store, hash-verified

511 * term '-a' and
512 */
513static bool
514and (void)
515{
516 bool value = true;
517
518 while (true)
519 {
520 value &= term ();
521 if (! (pos < argc && streq (argv[pos], "-a")))
522 return value;
523 advance (false);
524 }
525}
526
527/*
528 * or:

Callers 1

orFunction · 0.85

Calls 2

termFunction · 0.85
advanceFunction · 0.85

Tested by

no test coverage detected