DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home
Contents
Index
Master Index
New Book
mi_string_to_lvarchar()
The
mi_string_to_lvarchar()
function converts a null-terminated string to a text object allocated by
mi_new_var()
.
Syntax
mi_lvarchar *mi_string_to_lvarchar(
str
)
mi_string *str;
str
is the string to be converted to text.
Valid in Client Application?
Valid in Server Routine?
Yes
Yes
Usage
Free the memory with
mi_var_free()
when it is no longer needed.
Return Values
On success, returns a pointer to the allocated text object; on failure, returns
NULL
.
Related Topics
For additional information, see the descriptions of the following functions:
mi_lvarchar_to_string()
,
mi_new_var()
, and
mi_var_free()
.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.