1UPSCLI_STRERROR(3)          Network UPS Tools (NUT)         UPSCLI_STRERROR(3)
2
3
4

NAME

6       upscli_strerror - return string describing error condition
7

SYNOPSIS

9       #include <upsclient.h>
10
11       char *upscli_strerror(UPSCONN *ups);
12

DESCRIPTION

14       The upscli_strerror() function takes the pointer ups to a UPSCONN state
15       structure and returns a string describing the last error which occurred
16       on  this  connection.   The  string  is  valid  until  the next call to
17       upscli_strerror().
18

RETURN VALUE

20       The upscli_strerror() function returns a description of the  error,  or
21       an unknown error message if the error code is not recognized.
22

SEE ALSO

24       upscli_fd(3),  upscli_get(3),  upscli_readline(3),  upscli_sendline(3),
25       upscli_splitname(3), upscli_ssl(3),  upscli_strerror(3),  upscli_upserā€
26       ror(3)
27
28
29
30                                Fri Sep  6 2002             UPSCLI_STRERROR(3)
Impressum