API

Error numbers for the tty utilities. More...

#include <string>
Include dependency graph for ttyErrors.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MagAOX
 
 MagAOX::tty
 

Macros

#define TTY_E_NOERROR   (0)
 
#define TTY_E_TCGETATTR   (-42001)
 
#define TTY_E_SETISPEED   (-42002)
 
#define TTY_E_SETOSPEED   (-42003)
 
#define TTY_E_TCSETATTR   (-42004)
 
#define TTY_E_TIMEOUTONWRITEPOLL   (-42011)
 
#define TTY_E_ERRORONWRITEPOLL   (-42012)
 
#define TTY_E_ERRORONWRITE   (-42013)
 
#define TTY_E_TIMEOUTONWRITE   (-42014)
 
#define TTY_E_TIMEOUTONREADPOLL   (-42015)
 
#define TTY_E_ERRORONREADPOLL   (-42016)
 
#define TTY_E_ERRORONREAD   (-42017)
 
#define TTY_E_TIMEOUTONREAD   (-42018)
 
#define TTY_E_NODEVNAMES   (-42021)
 
#define TTY_E_UDEVNEWFAILED   (-42022)
 
#define TTY_E_DEVNOTFOUND   (-42023)
 
#define TTY_E_BADBAUDRATE   (-42030)
 
#define TELNET_E_NOERROR   (0)
 
#define TELNET_E_GETADDR   (-42040)
 
#define TELNET_E_SOCKET   (-42041)
 
#define TELNET_E_BIND   (-42042)
 
#define TELNET_E_CONNECT   (-42043)
 
#define TELNET_E_TELNETINIT   (-42044)
 
#define TELNET_E_EHERROR   (-42045)
 
#define TELNET_E_LOGINTIMEOUT   (-42046)
 

Functions

std::string MagAOX::tty::ttyErrorString (int ec)
 Get a text explanation of a TTY_E_ error code. More...
 

Detailed Description

Error numbers for the tty utilities.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

History:

  • 2018-01-17 created by JRM

Definition in file ttyErrors.hpp.

Macro Definition Documentation

◆ TELNET_E_BIND

#define TELNET_E_BIND   (-42042)

Definition at line 36 of file ttyErrors.hpp.

◆ TELNET_E_CONNECT

#define TELNET_E_CONNECT   (-42043)

Definition at line 37 of file ttyErrors.hpp.

◆ TELNET_E_EHERROR

#define TELNET_E_EHERROR   (-42045)

Definition at line 39 of file ttyErrors.hpp.

◆ TELNET_E_GETADDR

#define TELNET_E_GETADDR   (-42040)

Definition at line 34 of file ttyErrors.hpp.

◆ TELNET_E_LOGINTIMEOUT

#define TELNET_E_LOGINTIMEOUT   (-42046)

Definition at line 40 of file ttyErrors.hpp.

◆ TELNET_E_NOERROR

#define TELNET_E_NOERROR   (0)

Definition at line 33 of file ttyErrors.hpp.

◆ TELNET_E_SOCKET

#define TELNET_E_SOCKET   (-42041)

Definition at line 35 of file ttyErrors.hpp.

◆ TELNET_E_TELNETINIT

#define TELNET_E_TELNETINIT   (-42044)

Definition at line 38 of file ttyErrors.hpp.

◆ TTY_E_BADBAUDRATE

#define TTY_E_BADBAUDRATE   (-42030)

Definition at line 31 of file ttyErrors.hpp.

◆ TTY_E_DEVNOTFOUND

#define TTY_E_DEVNOTFOUND   (-42023)

Definition at line 30 of file ttyErrors.hpp.

◆ TTY_E_ERRORONREAD

#define TTY_E_ERRORONREAD   (-42017)

Definition at line 26 of file ttyErrors.hpp.

◆ TTY_E_ERRORONREADPOLL

#define TTY_E_ERRORONREADPOLL   (-42016)

Definition at line 25 of file ttyErrors.hpp.

◆ TTY_E_ERRORONWRITE

#define TTY_E_ERRORONWRITE   (-42013)

Definition at line 22 of file ttyErrors.hpp.

◆ TTY_E_ERRORONWRITEPOLL

#define TTY_E_ERRORONWRITEPOLL   (-42012)

Definition at line 21 of file ttyErrors.hpp.

◆ TTY_E_NODEVNAMES

#define TTY_E_NODEVNAMES   (-42021)

Definition at line 28 of file ttyErrors.hpp.

◆ TTY_E_NOERROR

#define TTY_E_NOERROR   (0)

Definition at line 15 of file ttyErrors.hpp.

◆ TTY_E_SETISPEED

#define TTY_E_SETISPEED   (-42002)

Definition at line 17 of file ttyErrors.hpp.

◆ TTY_E_SETOSPEED

#define TTY_E_SETOSPEED   (-42003)

Definition at line 18 of file ttyErrors.hpp.

◆ TTY_E_TCGETATTR

#define TTY_E_TCGETATTR   (-42001)

Definition at line 16 of file ttyErrors.hpp.

◆ TTY_E_TCSETATTR

#define TTY_E_TCSETATTR   (-42004)

Definition at line 19 of file ttyErrors.hpp.

◆ TTY_E_TIMEOUTONREAD

#define TTY_E_TIMEOUTONREAD   (-42018)

Definition at line 27 of file ttyErrors.hpp.

◆ TTY_E_TIMEOUTONREADPOLL

#define TTY_E_TIMEOUTONREADPOLL   (-42015)

Definition at line 24 of file ttyErrors.hpp.

◆ TTY_E_TIMEOUTONWRITE

#define TTY_E_TIMEOUTONWRITE   (-42014)

Definition at line 23 of file ttyErrors.hpp.

◆ TTY_E_TIMEOUTONWRITEPOLL

#define TTY_E_TIMEOUTONWRITEPOLL   (-42011)

Definition at line 20 of file ttyErrors.hpp.

◆ TTY_E_UDEVNEWFAILED

#define TTY_E_UDEVNEWFAILED   (-42022)

Definition at line 29 of file ttyErrors.hpp.