aboutsummaryrefslogtreecommitdiffstats
path: root/src/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio')
-rw-r--r--src/stdio/printf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/stdio/printf.c b/src/stdio/printf.c
index f63de94..e5c603c 100644
--- a/src/stdio/printf.c
+++ b/src/stdio/printf.c
@@ -397,11 +397,9 @@ int dprintf(int fd, const char* restrict format, ...)
/**
* This function is identical to `fprintf`,
- * except it is limited to buffer-backed
- * streams, and uses the buffer as the first
- * argument rather than then the stream.
+ * it prints to a buffer rather than a stream.
*
- * This is identical to `sprintf` with
+ * This is identical to `snprintf` with
* `SIZE_MAX` as the second argument.
*
* @param buffer The output buffer.