blob: 49160dbd94969c51eb4779cf7598de7bd0e35630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma once
#include "pal_compiler.h"
#include "pal_types.h"
/**
* snprintf is difficult to represent in C# due to the argument list, so the C# PInvoke
* layer will have multiple overloads pointing to this function
*
* Returns the number of characters (excluding null terminator) written to the buffer on
* success; if the return value is equal to the size then the result may have been truncated.
* On failure, returns a negative value.
*/
PALEXPORT int32_t SystemNative_SNPrintF(char* string, int32_t size, const char* format, ...);
|