Embedded TCP/IP stack: fnet_serial_getchar

FNET

fnet_int32_t fnet_serial_getchar ( fnet_serial_stream_t  stream)

Reads 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-2018 by Andrey Butok. http://fnet.sourceforge.net