Skip to content

Commit 7a5e914

Browse files
author
mtx48109
committed
asterisk cleanup
1 parent c8b0df3 commit 7a5e914

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/c-runtime-library/reference/memchr-wmemchr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ If successful, returns a pointer to the first location of *c* in *buffer*. Other
7373

7474
**memchr** and **wmemchr** look for the first occurrence of *c* in the first *count* bytes of *buffer*. It stops when it finds *c* or when it has checked the first *count* bytes.
7575

76-
In C, these functions take a **const ** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const ** returns a pointer to **const **; the version that takes a pointer to non-**const ** returns a pointer to non-**const **. The macro _CRT_CONST_CORRECT_OVERLOADS is defined if both the **const ** and non-**const ** versions of these functions are available. If you require the non-**const ** behavior for both C++ overloadsin C++, define the symbol _CONST_RETURN.
76+
In C, these functions take a **const** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const** returns a pointer to **const**; the version that takes a pointer to non-**const** returns a pointer to non-**const**. The macro _CRT_CONST_CORRECT_OVERLOADS is defined if both the **const** and non-**const** versions of these functions are available. If you require the non-**const** behavior for both C++ overloadsin C++, define the symbol _CONST_RETURN.
7777

7878
## Requirements
7979

docs/c-runtime-library/reference/strchr-wcschr-mbschr-mbschr-l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The **strchr** function finds the first occurrence of *c* in *str*, or it return
100100

101101
The output value is affected by the setting of the **LC_CTYPE** category setting of the locale; for more information, see [setlocale](setlocale-wsetlocale.md). The versions of these functions without the **_l** suffix use the current locale for this locale-dependent behavior; the versions with the **_l** suffix are identical except that they use the locale parameter passed in instead. For more information, see [Locale](../../c-runtime-library/locale.md).
102102

103-
In C, these functions take a **const ** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const ** returns a pointer to **const **; the version that takes a pointer to non-**const ** returns a pointer to non-**const **. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const ** and non-**const ** versions of these functions are available. If you require the non-**const ** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
103+
In C, these functions take a **const** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const** returns a pointer to **const**; the version that takes a pointer to non-**const** returns a pointer to non-**const**. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const** and non-**const** versions of these functions are available. If you require the non-**const** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
104104

105105
### Generic-Text Routine Mappings
106106

docs/c-runtime-library/reference/strpbrk-wcspbrk-mbspbrk-mbspbrk-l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The **strpbrk** function returns a pointer to the first occurrence of a characte
103103

104104
**_mbspbrk** is similar to **_mbscspn** except that **_mbspbrk** returns a pointer rather than a value of type [size_t](../../c-runtime-library/standard-types.md).
105105

106-
In C, these functions take a **const ** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const ** returns a pointer to **const **; the version that takes a pointer to non-**const ** returns a pointer to non-**const **. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const ** and non-**const ** versions of these functions are available. If you require the non-**const ** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
106+
In C, these functions take a **const** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const** returns a pointer to **const**; the version that takes a pointer to non-**const** returns a pointer to non-**const**. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const** and non-**const** versions of these functions are available. If you require the non-**const** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
107107

108108
The output value is affected by the setting of the **LC_CTYPE** category setting of the locale; for more information, see [setlocale](setlocale-wsetlocale.md). The versions of these functions without the **_l** suffix use the current locale for this locale-dependent behavior; the version with the **_l** suffix is identical except that it uses the locale parameter passed in instead. For more information, see [Locale](../../c-runtime-library/locale.md).
109109

docs/c-runtime-library/reference/strrchr-wcsrchr-mbsrchr-mbsrchr-l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The **strrchr** function finds the last occurrence of *c* (converted to **char**
9999

100100
**wcsrchr** and **_mbsrchr** are wide-character and multibyte-character versions of **strrchr**. The arguments and return value of **wcsrchr** are wide-character strings; those of **_mbsrchr** are multibyte-character strings.
101101

102-
In C, these functions take a **const ** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const ** returns a pointer to **const **; the version that takes a pointer to non-**const ** returns a pointer to non-**const **. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const ** and non-**const ** versions of these functions are available. If you require the non-**const ** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
102+
In C, these functions take a **const** pointer for the first argument. In C++, two overloads are available. The overload taking a pointer to **const** returns a pointer to **const**; the version that takes a pointer to non-**const** returns a pointer to non-**const**. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const** and non-**const** versions of these functions are available. If you require the non-**const** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
103103

104104
**_mbsrchr** validates its parameters. If *str* is **NULL**, the invalid parameter handler is invoked, as described in [Parameter Validation](../../c-runtime-library/parameter-validation.md). If execution is allowed to continue, **errno** is set to **EINVAL** and **_mbsrchr** returns 0. **strrchr** and **wcsrchr** do not validate their parameters. These three functions behave identically otherwise.
105105

docs/c-runtime-library/reference/strstr-wcsstr-mbsstr-mbsstr-l.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The **strstr** function returns a pointer to the first occurrence of *strSearch*
9999
> [!IMPORTANT]
100100
> These functions might incur a threat from a buffer overrun problem. Buffer overrun problems can be used to attack a system because they can allow the execution of arbitrary code, which can cause an unwarranted elevation of privilege. For more information, see [Avoiding Buffer Overruns](http://msdn.microsoft.com/library/windows/desktop/ms717795).
101101
102-
In C, these functions take a **const ** pointer for the first argument. In C++, two overloads are available. The overload that takes a pointer to **const ** returns a pointer to **const **; the version that takes a pointer to non-**const ** returns a pointer to non-**const **. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const ** and non-**const ** versions of these functions are available. If you require the non-**const ** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
102+
In C, these functions take a **const** pointer for the first argument. In C++, two overloads are available. The overload that takes a pointer to **const** returns a pointer to **const**; the version that takes a pointer to non-**const** returns a pointer to non-**const**. The macro **_CRT_CONST_CORRECT_OVERLOADS** is defined if both the **const** and non-**const** versions of these functions are available. If you require the non-**const** behavior for both C++ overloads, define the symbol **_CONST_RETURN**.
103103

104104
The output value is affected by the locale-category setting of **LC_CTYPE**; for more information, see [setlocale, _wsetlocale](setlocale-wsetlocale.md). The versions of these functions that do not have the **_l** suffix use the current locale for this locale-dependent behavior; the versions that have the **_l** suffix are identical except that they instead use the locale parameter that's passed in. For more information, see [Locale](../../c-runtime-library/locale.md).
105105

0 commit comments

Comments
 (0)