1gensio_err(3)              Library Functions Manual              gensio_err(3)
2
3
4

NAME

6       gensio_err - Error reporting values for gensio functions
7

SYNOPSIS

9       #include <gensio/gensio_err.h>
10       const char *gensio_err_to_str(int err)
11

DESCRIPTION

13       The  return  values for gensio functions that return errors and the re‐
14       ported values in callbacks from the gensio library are all  gensio  er‐
15       rors.  Possible values are:
16
17              GE_NOERR                 No error
18              GE_NOMEM                 Out of memory
19              GE_NOTSUP                Operation not supported
20              GE_INVAL                 Invalid data to parameter
21              GE_NOTFOUND              Value or file not found
22              GE_EXISTS                Value already exists
23              GE_OUTOFRANGE            Value out of range
24              GE_INCONSISTENT          Parameters inconsistent in call
25              GE_NODATA                No data was available for the function
26              GE_OSERR                 OS error, see logs
27              GE_INUSE                 Object was already in use
28              GE_INPROGRESS            Operation is in progress
29              GE_NOTREADY              Object was not ready for operation
30              GE_TOOBIG                Value was too large for data
31              GE_TIMEDOUT              Operation timed out
32              GE_RETRY                 Retry operation later
33              GE_KEYNOTFOUND           Unable to find the given key
34              GE_CERTREVOKED           Key was revoked
35              GE_CERTEXPIRED           Key was expired
36              GE_KEYINVALID            Key is not valid
37              GE_NOCERT                Certificate not provided
38              GE_CERTINVALID           Certificate is not valid
39              GE_PROTOERR              Protocol error
40              GE_COMMERR               Communication error
41              GE_IOERR                 Internal I/O error
42              GE_REMCLOSE              Remote end closed connection
43              GE_HOSTDOWN              Host could not be reached
44              GE_CONNREFUSE            Connection refused
45              GE_DATAMISSING           Data was missing
46              GE_CERTNOTFOUND          Unable to find given certificate
47              GE_AUTHREJECT            Authentication tokens rejected
48              GE_ADDRINUSE             Address already in use
49              GE_INTERRUPTED           Operation was interrupted by a signal
50              GE_SHUTDOWN              Operation on shutdown file descriptor
51              GE_LOCALCLOSED           Local side closed connection
52              GE_PERM                  Permission denied
53              GE_APPERR                Application error
54              GE_UNKNOWN_NAME_ERROR    Unknown name server lookup failure
55              GE_NAME_ERROR            Unable to find a valid name on the name
56              server
57              GE_NAME_SERVER_FAILURE   Serious name server failure
58              GE_NAME_INVALID          Invalid name server information
59              GE_NAME_NET_NOT_UP       Network address for the given  name  is
60              not available
61
62       gensio_err_to_str converts an integer error value to the given string.
63

SEE ALSO

65       gensio(5), gensio_err(3), gensio_log(3)
66
67
68
69                                  24 Feb 2019                    gensio_err(3)
Impressum