diff options
Diffstat (limited to 'src/pal/src/safecrt/snprintf.c')
-rw-r--r-- | src/pal/src/safecrt/snprintf.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/pal/src/safecrt/snprintf.c b/src/pal/src/safecrt/snprintf.c new file mode 100644 index 0000000000..c892d1a9b6 --- /dev/null +++ b/src/pal/src/safecrt/snprintf.c @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/*** +*snprintf.c - "Count" version of sprintf +* + +* +*Purpose: +* The _snprintf() flavor takes a count argument that is +* the max number of bytes that should be written to the +* user's buffer. +* +*******************************************************************************/ + +#define _COUNT_ 1 +#include "sprintf.c" |