diff options
-rw-r--r-- | include/c/str/cpy/stp/stpe/stpeprintf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/c/str/cpy/stp/stpe/stpeprintf.h b/include/c/str/cpy/stp/stpe/stpeprintf.h index c46119c..bd419c2 100644 --- a/include/c/str/cpy/stp/stpe/stpeprintf.h +++ b/include/c/str/cpy/stp/stpe/stpeprintf.h @@ -15,8 +15,10 @@ #pragma clang assume_nonnull begin +[[gnu::format(printf, 3, 4)]] inline char *c_nullable c_stpeprintf(char *c_nullable dst, char *end, const char *restrict fmt, ...); +[[gnu::format(printf, 3, 0)]] inline char *c_nullable c_vstpeprintf(char *c_nullable dst, char *end, const char *restrict fmt, va_list ap); |