Skip to content

Commit 8b98497

Browse files
authored
Merge pull request #4463 from EddieBreeveld/patch-3
Update wctomb-s-wctomb-s-l.md
2 parents fed367d + bd89f36 commit 8b98497

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/c-runtime-library/reference/wctomb-s-wctomb-s-l.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The address of a multibyte character.
4444
Size of the buffer *`mbchar`*.
4545

4646
*`wchar`*\
47-
A wide character.
47+
The wide character to convert.
4848

4949
*`locale`*\
5050
The locale to use.
@@ -60,9 +60,11 @@ Error Conditions
6060
| `NULL` | >0 | `EINVAL` | not modified |
6161
| any | >`INT_MAX` | `EINVAL` | not modified |
6262
| any | too small | `EINVAL` | not modified |
63-
63+
6464
If any of the above error conditions occurs, the invalid parameter handler is invoked, as described in [Parameter validation](../parameter-validation.md). If execution is allowed to continue, `wctomb` returns `EINVAL` and sets `errno` to `EINVAL`.
6565

66+
The return value [`EILSEQ`](../errno-constants.md) indicates that the value passed via the parameter `wchar` is not a valid wide character.
67+
6668
## Remarks
6769

6870
The **`wctomb_s`** function converts its *`wchar`* argument to the corresponding multibyte character and stores the result at *`mbchar`*. You can call the function from any point in any program.

0 commit comments

Comments
 (0)