string: fix strncat SAL
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
dec5ad54d1
commit
fedeef0bea
@ -748,13 +748,13 @@ namespace stdex
|
|||||||
///
|
///
|
||||||
/// \param[in] dst Destination string
|
/// \param[in] dst Destination string
|
||||||
/// \param[in] src Source string
|
/// \param[in] src Source string
|
||||||
/// \param[in] count String code unit count limit
|
/// \param[in] count Source string code unit count limit
|
||||||
///
|
///
|
||||||
/// \return Number of code units excluding zero terminator in the dst string after the operation.
|
/// \return Number of code units excluding zero terminator in the dst string after the operation.
|
||||||
///
|
///
|
||||||
template <class T1, class T2>
|
template <class T1, class T2>
|
||||||
inline size_t strncat(
|
inline size_t strncat(
|
||||||
_Out_writes_(count) _Post_maybez_ T1* dst,
|
_Inout_z_ T1* dst,
|
||||||
_In_reads_or_z_opt_(count) const T2* src, _In_ size_t count)
|
_In_reads_or_z_opt_(count) const T2* src, _In_ size_t count)
|
||||||
{
|
{
|
||||||
_Assume_(dst && src || !count);
|
_Assume_(dst && src || !count);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user