DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home
Contents
Index
Master Index
New Book
mi_lvarchar_to_string()
The
mi_lvarchar_to_string()
function converts the given text argument into a string and places the result in a newly allocated buffer.
Syntax
mi_string *mi_lvarchar_to_string(
lv
)
mi_lvarchar *lv;
lv
is a pointer to the text to be converted.
Valid in Client Application?
Valid in Server Routine?
Yes
Yes
Usage
Free the memory with
mi_free()
when it is no longer needed.
Return Values
On success, a pointer to the string that has been allocated with
mi_alloc()
. On failure, returns
NULL
.
Related Topics
For additional information, see the descriptions of the following functions:
mi_alloc()
,
mi_free()
, and
mi_string_to_lvarchar()
.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.