| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | int | - |
| 6 | fd_safer_flag (int fd, int flag) | - |
| 7 | { | - |
| 8 | if ( | - |
| 9 | 0 | TRUE | evaluated 2378 times by 1 test | | FALSE | evaluated 1 time by 1 test |
| 1-2378 |
| 10 | <= fd| TRUE | evaluated 2378 times by 1 test | | FALSE | evaluated 1 time by 1 test |
&& fd <= | TRUE | never evaluated | | FALSE | evaluated 2378 times by 1 test |
| 0-2378 |
| 11 | 2| TRUE | never evaluated | | FALSE | evaluated 2378 times by 1 test |
| 0-2378 |
| 12 | ) | - |
| 13 | { | - |
| 14 | int f = dup_safer_flag (fd, flag); | - |
| 15 | int e = | - |
| 16 | (*__errno_location ()) | - |
| 17 | ; | - |
| 18 | close (fd); | - |
| 19 | | - |
| 20 | (*__errno_location ()) | - |
| 21 | = e; | - |
| 22 | fd = f; | - |
| 23 | } never executed: end of block | 0 |
| 24 | | - |
| 25 | returnexecuted 2379 times by 1 test: return fd; fd;executed 2379 times by 1 test: return fd; | 2379 |
| 26 | } | - |
| | |