Group
group
group__libshare__error
The libshare error codes.
Generic libshare error status codes.
define
SHERR_NONE
0
[
sherr.h:39
]
define
(error)
SHERR_NOENT
-2
[
sherr.h:40
]
define
(error)
SHERR_SRCH
-3
[
sherr.h:41
]
define
(error)
SHERR_IO
-5
[
sherr.h:42
]
define
(error)
SHERR_2BIG
-7
[
sherr.h:43
]
define
(error)
SHERR_BADF
-9
[
sherr.h:44
]
define
(error)
SHERR_AGAIN
-11
[
sherr.h:45
]
define
(error)
SHERR_NOMEM
-12
[
sherr.h:46
]
define
(error)
SHERR_ACCESS
-13
[
sherr.h:47
]
define
(error)
SHERR_EXIST
-17
[
sherr.h:48
]
define
(error)
SHERR_NOTDIR
-20
[
sherr.h:49
]
define
(error)
SHERR_ISDIR
-21
[
sherr.h:50
]
define
(error)
SHERR_INVAL
-22
[
sherr.h:51
]
define
(error)
SHERR_NFILE
-23
[
sherr.h:52
]
define
(error)
SHERR_FBIG
-27
[
sherr.h:53
]
define
(error)
SHERR_NOSPC
-28
[
sherr.h:54
]
define
(error)
SHERR_NAMETOOLONG
-36
[
sherr.h:55
]
define
(error)
SHERR_NOLCK
-37
[
sherr.h:56
]
define
(error)
SHERR_NOMSG
-42
[
sherr.h:57
]
define
(error)
SHERR_XFULL
-54
[
sherr.h:58
]
define
(error)
SHERR_OVERFLOW
-75
[
sherr.h:59
]
define
(error)
SHERR_NOTUNIQ
-76
[
sherr.h:60
]
define
(error)
SHERR_ILSEQ
-84
[
sherr.h:61
]
define
(error)
SHERR_CONNRESET
-104
[
sherr.h:62
]
define
(error)
SHERR_NOBUFS
-105
[
sherr.h:63
]
define
(error)
SHERR_TIMEDOUT
-110
[
sherr.h:64
]
define
(error)
SHERR_CONNREFUSED
-111
[
sherr.h:65
]
define
(error)
SHERR_ALREADY
-114
[
sherr.h:66
]
define
(error)
SHERR_REMOTEIO
-121
[
sherr.h:67
]
define
(error)
SHERR_TIME
-62
[
sherr.h:68
]
define
(error)
SHERR_NONET
-64
[
sherr.h:69
]
define
(error)
SHERR_NOPKG
-65
[
sherr.h:70
]
define
(error)
SHERR_REMOTE
-66
[
sherr.h:71
]
define
(error)
SHERR_NOLINK
-67
[
sherr.h:72
]
define
(error)
SHERR_PROTO
-71
[
sherr.h:73
]
define
(error)
SHERR_NOTSOCK
-88
[
sherr.h:74
]
define
(error)
SHERR_OPNOTSUPP
-95
[
sherr.h:75
]
define
(error)
SHERR_ADDRINUSE
-98
[
sherr.h:76
]
define
(error)
SHERR_ADDRNOTAVAIL
-99
[
sherr.h:77
]
define
(error)
SHERR_NETDOWN
-100
[
sherr.h:78
]
define
(error)
SHERR_NETUNREACH
-101
[
sherr.h:79
]
define
(error)
SHERR_SHUTDOWN
-108
[
sherr.h:80
]
define
(error)
SHERR_TOOMANYREFS
-109
[
sherr.h:81
]
define
(error)
SHERR_INPROGRESS
-115
[
sherr.h:82
]
define
(error)
SHERR_NOMEDIUM
-123
[
sherr.h:83
]
define
(error)
SHERR_CANCELED
-125
[
sherr.h:86
]
Operation canceled.
define
(error)
SHERR_NOKEY
-126
[
sherr.h:89
]
Required key not available.
define
(error)
SHERR_KEYEXPIRED
-127
[
sherr.h:92
]
Key has expired.
define
(error)
SHERR_KEYREVOKED
-128
[
sherr.h:95
]
Key has been revoked.
define
(error)
SHERR_KEYREJECTED
-129
[
sherr.h:98
]
Key was rejected by service.
define
(error)
SHERR_OWNERDEAD
-130
[
sherr.h:101
]
Owner died.
define
(error)
sherrstr
strerror(-1 * (_errcode))
[
sherr.h:110
]
Converts a libshare error code to a libshare error message.
Param
_errcode
A libshare error code.
Return Value
A string message associated with the libshare error code.