| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/sh/oslib.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | - | |||||||
| 4 | - | |||||||
| 5 | - | |||||||
| 6 | - | |||||||
| 7 | - | |||||||
| 8 | - | |||||||
| 9 | - | |||||||
| 10 | - | |||||||
| 11 | - | |||||||
| 12 | - | |||||||
| 13 | - | |||||||
| 14 | - | |||||||
| 15 | - | |||||||
| 16 | - | |||||||
| 17 | int | - | ||||||
| 18 | getmaxgroups () | - | ||||||
| 19 | { | - | ||||||
| 20 | static int maxgroups = -1; | - | ||||||
| 21 | - | |||||||
| 22 | if (maxgroups > 0
| 0-3 | ||||||
| 23 | return never executed: maxgroups;return maxgroups;never executed: return maxgroups; | 0 | ||||||
| 24 | - | |||||||
| 25 | - | |||||||
| 26 | maxgroups = sysconf ( | - | ||||||
| 27 | _SC_NGROUPS_MAX | - | ||||||
| 28 | ); | - | ||||||
| 29 | if (maxgroups <= 0
| 0-3 | ||||||
| 30 | maxgroups = 64; never executed: maxgroups = 64; | 0 | ||||||
| 31 | - | |||||||
| 32 | return executed 3 times by 1 test: maxgroups;return maxgroups;Executed by:
executed 3 times by 1 test: return maxgroups;Executed by:
| 3 | ||||||
| 33 | } | - | ||||||
| 34 | - | |||||||
| 35 | long | - | ||||||
| 36 | getmaxchild () | - | ||||||
| 37 | { | - | ||||||
| 38 | static long maxchild = -1L; | - | ||||||
| 39 | - | |||||||
| 40 | if (maxchild > 0
| 15-5432 | ||||||
| 41 | return executed 15 times by 1 test: maxchild;return maxchild;Executed by:
executed 15 times by 1 test: return maxchild;Executed by:
| 15 | ||||||
| 42 | - | |||||||
| 43 | - | |||||||
| 44 | maxchild = sysconf ( | - | ||||||
| 45 | _SC_CHILD_MAX | - | ||||||
| 46 | ); | - | ||||||
| 47 | return executed 5432 times by 1 test: (maxchild);return (maxchild);Executed by:
executed 5432 times by 1 test: return (maxchild);Executed by:
| 5432 | ||||||
| 48 | } | - | ||||||
| Switch to Source code | Preprocessed file |