Embedded TCP/IP stack: fnet_shell_getchar

FNET

fnet_int32_t fnet_shell_getchar ( fnet_shell_desc_t  desc)

Reads character from the shell stream.

Parameters
descShell service descriptor.
Returns
This function returns:
  • character from the shell stream.
  • FNET_ERR if no charcter is available in the shell stream.
See also
fnet_shell_putchar()

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


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net