Reactos
at master 21 lines 498 B view raw
1// 2// strset_s.cpp 3// 4// Copyright (c) Microsoft Corporation. All rights reserved. 5// 6// Defines _strset_s(), which sets all of the characters of a null-terminated 7// string to the given character. 8// 9#include <corecrt_internal_string_templates.h> 10#include <string.h> 11 12 13 14extern "C" errno_t __cdecl _strset_s( 15 char* const destination, 16 size_t const size_in_elements, 17 int const value 18 ) 19{ 20 return common_tcsset_s(destination, size_in_elements, static_cast<char>(value)); 21}