Home | History | Annotate | Download | only in Analysis

Lines Matching full:errno

38 // Test errno gets invalidated by a system call.
43 if (errno == 0) {
44 fscanf(stdin, "%d", &i); // errno gets invalidated here.
45 return 5 / errno; // no-warning
48 errno = 0;
49 fscanf(stdin, "%d", &i); // errno gets invalidated here.
50 return 5 / errno; // no-warning
53 // Test that errno gets invalidated by internal calls.
58 if (errno == 0) {
59 foo(); // errno gets invalidated here.
60 return 5 / errno; // no-warning