User`s manual

Users Manual 21
3.3.3 Non-Cofunction Blocking Output Functions
These are simple functions that do not use Dynamic C costatements. They immediately
begin to perform their task, not yielding to other tasks until all characters have been written.
int serXputc (char c);
Writes a character to the serial port.
Parameters
cCharacter to write
Return Value
1 for success, 0 if the character could not be written to the port.
int serXputs (char *s);
Calls serXwrite (s, strlen (s)).
Parameters
sNull-terminated character string source to write to the serial port.
Return Value
The number of characters written.
int serXwrite (void *data, int length);
Writes a block of length bytes to the serial port.
Parameters
dataDestination data structure. The user must ensure data is allocated for at least length bytes.
lengthThe number of bytes to read.
Return Value
The number of bytes written to the serial port.