public class LibCStdio
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
snprintf
The address of the
snprintf function. |
static long |
sprintf
The address of the
sprintf function. |
static long |
sscanf
The address of the
sscanf function. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvsnprintf(long buffer,
long buf_size,
long format,
long vlist)
Unsafe version of:
vsnprintf(java.nio.ByteBuffer, java.nio.ByteBuffer, long) |
static int |
nvsscanf(long buffer,
long format,
long vlist)
Unsafe version of:
vsscanf(java.nio.ByteBuffer, java.nio.ByteBuffer, long) |
static int |
vsnprintf(java.nio.ByteBuffer buffer,
java.nio.ByteBuffer format,
long vlist)
Loads the data from the locations, defined by
vlist, converts them to character string equivalents and writes the results to a character string
buffer. |
static int |
vsnprintf(java.nio.ByteBuffer buffer,
java.lang.CharSequence format,
long vlist)
Loads the data from the locations, defined by
vlist, converts them to character string equivalents and writes the results to a character string
buffer. |
static int |
vsscanf(java.nio.ByteBuffer buffer,
java.nio.ByteBuffer format,
long vlist)
Reads data from the null-terminated character string
buffer, interprets it according to format and stores the results into locations
defined by vlist. |
static int |
vsscanf(java.lang.CharSequence buffer,
java.lang.CharSequence format,
long vlist)
Reads data from the null-terminated character string
buffer, interprets it according to format and stores the results into locations
defined by vlist. |
public static final long sscanf
sscanf function.public static final long sprintf
sprintf function.public static final long snprintf
snprintf function.public static int nvsscanf(long buffer,
long format,
long vlist)
vsscanf(java.nio.ByteBuffer, java.nio.ByteBuffer, long)public static int vsscanf(java.nio.ByteBuffer buffer,
java.nio.ByteBuffer format,
long vlist)
buffer, interprets it according to format and stores the results into locations
defined by vlist.buffer - pointer to a null-terminated character string to read fromformat - pointer to a null-terminated character string specifying how to read the inputvlist - variable argument list containing the receiving argumentsEOF if read failure occurs before the first receiving argument was assignedpublic static int vsscanf(java.lang.CharSequence buffer,
java.lang.CharSequence format,
long vlist)
buffer, interprets it according to format and stores the results into locations
defined by vlist.buffer - pointer to a null-terminated character string to read fromformat - pointer to a null-terminated character string specifying how to read the inputvlist - variable argument list containing the receiving argumentsEOF if read failure occurs before the first receiving argument was assignedpublic static int nvsnprintf(long buffer,
long buf_size,
long format,
long vlist)
vsnprintf(java.nio.ByteBuffer, java.nio.ByteBuffer, long)buf_size - up to buf_size - 1 characters may be written, plus the null terminatorpublic static int vsnprintf(@Nullable
java.nio.ByteBuffer buffer,
java.nio.ByteBuffer format,
long vlist)
vlist, converts them to character string equivalents and writes the results to a character string
buffer.buffer - pointer to a character string to write toformat - pointer to a null-terminated character string specifying how to interpret the datavlist - variable argument list containing the data to printbuf_size
limit, function returns the total number of characters (not including the terminating null-byte) which would have been written, if the limit was not
imposed.public static int vsnprintf(@Nullable
java.nio.ByteBuffer buffer,
java.lang.CharSequence format,
long vlist)
vlist, converts them to character string equivalents and writes the results to a character string
buffer.buffer - pointer to a character string to write toformat - pointer to a null-terminated character string specifying how to interpret the datavlist - variable argument list containing the data to printbuf_size
limit, function returns the total number of characters (not including the terminating null-byte) which would have been written, if the limit was not
imposed.Copyright LWJGL. All Rights Reserved. License terms.