pool_error, pool_strerror - error interface to resource pools library
cc [ flag... ] file... -lpool [ library... ] #include <pool.h> int pool_error(void);
const char *pool_strerror(int perr);
The pool_error() function returns the error value of the last failure recorded by the invocation of one of the functions of the resource pool configuration library, libpool.
The pool_strerror() function returns a descriptive null-terminated string for each of the valid pool error codes.
The following error codes can be returned by pool_error():
The pool_error() function returns the current pool error value for the calling thread from among the following:
POE_ACCESS
POE_BADPARAM
POE_BAD_PROP_TYPE
POE_DATASTORE
POE_INVALID_CONF
POE_INVALID_SEARCH
POE_NOTSUP
POE_PUTPROP
POE_OK
POE_SYSTEM
The pool_strerror() function returns a pointer to the string corresponding to the requested error value. If the error value has no corresponding string, -1 is returned and errno is set to indicate the error.
The pool_strerror() function will fail if:
ESRCH
See attributes(5) for descriptions of the following attributes:
|
errno(3C), libpool(3LIB), pool_error(3POOL), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |