Next: Test interference, Previous: Usage example, Up: MIN Text interface usage
Text *tx_create (const char * txt)
const char * txt
*txt
value
void tx_destroy (Text ** txt)
Text ** txt
void tx_append (Text * dest, const Text * src)
Text * dest
const Text * src
*dest
void tx_copy (Text * dest, const Text * src)
Text * dest
const Text * src
void tx_c_append (Text * dest, const char *src)
Text * dest
const char *src
*dest
void tx_prepend (Text * src, Text * dest)
Text * src
*dest
Text * dest
void tx_c_prepend (Text * src, const char * dest)
Text * src
const char * dest
*src
tx_c_copy (Text * dest, const char *src)
Text * dest
const char *src
*dest
char *tx_get_buf (Text * txt)
Text * txt
char *tx_share_buf (Text * txt)
Text * txt
void tx_back_trim (Text * txt, const char *chars)
Text * txt
const char *chars
char tx_at (Text * txt, unsigned int index)
Text * txt
unsigned int index
index
position
If index exceeds the length of the data NULL byte is returned
tx_int_append (Text * dest, const char *options, int src)
Text * dest
const char *options
Modifiers are the same as in printf (for more details see man printf
)
int src