MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > h) String Functions > leFixedString_New Function
MPLAB® Harmony Graphics Suite
leFixedString_New Function
C
LIB_EXPORT leFixedString* leFixedString_New(
    leChar* buf, 
    uint32_t size
);
Parameters
Parameters 
Description 
leChar* buf 
the buffer to assign to this string 
uint32_t size 
the size of the buffer 
Returns

leFixedString* - pointer to the newly allocated string

Remarks

Caller is responsible for freeing the memory allocated by this function using leString_Delete()

MPLAB® Harmony Graphics Suite