Strings, Utilities – Echelon Neuron C User Manual
Page 68
48
Functions
Function
Description
fl_to_ascii_fmt( )
Convert a floating-point number to a
formatted ASCII string
fl_to_s32( )
Convert a floating-point number to
signed 32-bit
fl_to_slong( )
Convert a floating-point number to
signed long
fl_to_ulong( )
Convert a floating-point number to
unsigned long
fl_trunc( )
Return the whole number part of a
floating-point number
Strings
Table 10 lists the string functions.
Table 10. String Functions
Function
Description
strcat( )
Append a copy of a string at the end of
another
strchr( )
Scan a string for a specific character
strcmp( )
Compare two strings
strcpy( )
Copy one string into another
strlen( )
Return the length of a string
strncat( )
Append a copy of a string at the end of
another
strncmp( )
Compare two strings
strncpy( )
Copy one string into another
strrchr( )
Scan a string in reverse for a specific
character
Utilities
Table 11 on page 49 lists the utlility functions.