Embedded TCP/IP stack  4.7.0

◆ fnet_serial_getchar()

fnet_int32_t fnet_serial_getchar ( fnet_serial_stream_t  stream)

Read character from the stream.

Parameters
streamStream descriptor.
Returns
This function returns:
  • character from the stream.
  • FNET_ERR if no character is available in the stream.
See also
fnet_serial_putchar()

This function reads a single character from the stream.
If no character is available in the stream the FNET_ERR is returned.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net