Skip to content

Commit 7fa3ce7

Browse files
authored
Fix NULL character formatting in documentation
1 parent 450eefa commit 7fa3ce7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/c-runtime-library/reference/vsprintf-p-vsprintf-p-l-vswprintf-p-vswprintf-p-l.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ The locale to use.
6666

6767
## Return value
6868

69-
**`_vsprintf_p`** and **`_vswprintf_p`** return the number of characters written, not including the terminating null character, or a negative value if an output error occurs.
70-
If the *`buffer`* is a `NULL` pointer and *`sizeInBytes`* or *`count`* are zero, functions return the number of characters that would have been written not including the terminating NULL.
71-
If the *`buffer`* is valid and *`sizeInBytes`* or *`count`* are zero, functions return -1.
69+
**`_vsprintf_p`** and **`_vswprintf_p`** return the number of characters written, not including the terminating `NULL` character, or a negative value if an output error occurs.
70+
If the *`buffer`* is a `NULL` pointer and *`sizeInBytes`* or *`count`* are zero, functions return the number of characters that would have been written not including the terminating `NULL`.
71+
If the *`buffer`* is valid and *`sizeInBytes`* or *`count`* are zero, returns -1.
7272

7373
## Remarks
7474

0 commit comments

Comments
 (0)