Skip to content

Commit c48abf1

Browse files
authored
Merge pull request #2994 from cartwrightluke/patch-2
wstrlen -> wcslen on strlen... page
2 parents ee04469 + 74c2321 commit c48abf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/c-runtime-library/reference/strlen-wcslen-mbslen-mbslen-l-mbstrlen-mbstrlen-l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ int main()
106106
// strlen gives the length of single-byte character string
107107
printf("Length of '%s' : %d\n", str1, strlen(str1) );
108108

109-
// wstrlen gives the length of a wide character string
109+
// wcslen gives the length of a wide character string
110110
wprintf(L"Length of '%s' : %d\n", wstr1, wcslen(wstr1) );
111111

112112
// A multibyte string: [A] [B] [C] [katakana A] [D] [\0]

0 commit comments

Comments
 (0)