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 |
const char* |
The string. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
len |
int |
The length to consider. If non-positive, the entire screenlength is used. |
|
w |
int* |
The actual width of the string up to the returned offset, if not |
|
The data is owned by the caller of the function. |