================
@@ -1766,13 +1770,6 @@ are assumed to succeed.)
fclose(p);
}
-**Limitations**
-
-The checker does not track the correspondence between integer file descriptors
-and ``FILE *`` pointers. Operations on standard streams like ``stdin`` are not
-treated specially and are therefore often not recognized (because these streams
-are usually not opened explicitly by the program, and are global variables).
----------------
steakhal wrote:
Ah indeed. So basically opening a file with file descriptor "ints" and then
using `fdopen()` to get the corresponding `FILE *` - and back with `fileno()`.
Yea, that seems weird to do :D Probably has its use somewhere though.
Anyways, makes sense now.
https://github.com/llvm/llvm-project/pull/100990
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits