[clang] [clang][analyzer] Support `fputs` in the StreamChecker (PR #73335)
Balázs Kéri via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 24 07:40:08 PST 2023
================
@@ -50,6 +50,7 @@ size_t fread(void *restrict, size_t, size_t, FILE *restrict);
size_t fwrite(const void *restrict, size_t, size_t, FILE *restrict);
int fgetc(FILE *stream);
int fputc(int ch, FILE *stream);
+int fputs(const char *str, FILE *stream);
----------------
balazske wrote:
The exact POSIX declaration is `int fputs(const char *restrict s, FILE *restrict stream)`.
https://github.com/llvm/llvm-project/pull/73335
More information about the cfe-commits
mailing list