Function
Gntutil_onscreen_width_to_pointer
Declaration [src]
const char*
gnt_util_onscreen_width_to_pointer (
const char* str,
int len,
int* w
)
Parameters
str
-
Type:
const char*
The string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. len
-
Type:
int
The length to consider. If non-positive, the entire screenlength is used.
w
-
Type:
int*
The actual width of the string up to the returned offset, if not
NULL
.The data is owned by the caller of the function.