OpenCoverage

areadlink.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/areadlink.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11static ssize_t-
12careadlinkatcwd (int fd, char const *filename, char *buffer,-
13 size_t buffer_size)-
14{-
15-
16-
17 if (fd !=
fd != -100Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • stdbuf
0-2
18 -100
fd != -100Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • stdbuf
0-2
19 )-
20 abort ();
never executed: abort ();
0
21 return
executed 2 times by 1 test: return readlink (filename, buffer, buffer_size);
Executed by:
  • stdbuf
readlink (filename, buffer, buffer_size);
executed 2 times by 1 test: return readlink (filename, buffer, buffer_size);
Executed by:
  • stdbuf
2
22}-
23-
24-
25-
26-
27-
28-
29-
30char *-
31areadlink (char const *filename)-
32{-
33 return
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
careadlinkat (
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
34 -100
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
35 , filename,
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
36 ((void *)0)
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
37 , 0,
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
38 ((void *)0)
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
39 , careadlinkatcwd);
executed 2 times by 1 test: return careadlinkat ( -100 , filename, ((void *)0) , 0, ((void *)0) , careadlinkatcwd);
Executed by:
  • stdbuf
2
40}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2