Mono Class Library: Mono.Unix.Native.Stdlib Overview | Members

Mono.Unix.Native.Stdlib.snprintf Method

Print a string into a buffer.

public static int snprintf (System.Text.StringBuilder s, string message)

Parameters

s
The buffer to print the message into.
message
The message to print.

Returns

Returns the number of characters printed or the number of characters that would have been printed if the size were unlimited (again, not including the final '\0').

Remarks

The snprintf function will fill at most System.Text.StringBuilder.Capacity characters of the input buffer with the string message.

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0