Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3pool/pool_error.3pool
Real path: /usr/share/man/man3pool/pool_error.3pool
Zurück
'\" te .\" Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. .TH pool_error 3POOL "23 Sep 2003" "Oracle Solaris 11.4" "Pool Configuration Manipulation Library Functions" .SH NAME pool_error, pool_strerror \- error interface to resource pools library .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lpool\fR [ \fIlibrary\fR... ] #include <pool.h> \fBint\fR \fBpool_error\fR(\fBvoid\fR); .fi .LP .nf \fBconst char *\fR\fBpool_strerror\fR(\fBint\fR \fIperr\fR); .fi .SH DESCRIPTION .sp .LP The \fBpool_error()\fR function returns the error value of the last failure recorded by the invocation of one of the functions of the resource pool configuration library, \fBlibpool\fR. .sp .LP The \fBpool_strerror()\fR function returns a descriptive null-terminated string for each of the valid pool error codes. .sp .LP The following error codes can be returned by \fBpool_error()\fR: .SH RETURN VALUES .sp .LP The \fBpool_error()\fR function returns the current pool error value for the calling thread from among the following: .sp .ne 2 .mk .na \fB\fBPOE_ACCESS\fR\fR .ad .RS 22n .rt The operation could not be performed because the configuration was not opened with the correct opening permissions. .RE .sp .ne 2 .mk .na \fB\fBPOE_BADPARAM\fR\fR .ad .RS 22n .rt A bad parameter was supplied. .RE .sp .ne 2 .mk .na \fB\fBPOE_BAD_PROP_TYPE\fR\fR .ad .RS 22n .rt An incorrect property type was submitted or encountered during the pool operation. .RE .sp .ne 2 .mk .na \fB\fBPOE_DATASTORE\fR\fR .ad .RS 22n .rt An error occurred within permanent storage. .RE .sp .ne 2 .mk .na \fB\fBPOE_INVALID_CONF\fR\fR .ad .RS 22n .rt The pool configuration presented for the operation is invalid. .RE .sp .ne 2 .mk .na \fB\fBPOE_INVALID_SEARCH\fR\fR .ad .RS 22n .rt A query whose outcome set was empty was attempted. .RE .sp .ne 2 .mk .na \fB\fBPOE_NOTSUP\fR\fR .ad .RS 22n .rt An unsupported operation was attempted. .RE .sp .ne 2 .mk .na \fB\fBPOE_PUTPROP\fR\fR .ad .RS 22n .rt An attempt to write a read-only property was made. .RE .sp .ne 2 .mk .na \fB\fBPOE_OK\fR\fR .ad .RS 22n .rt The previous pool operation succeeded. .RE .sp .ne 2 .mk .na \fB\fBPOE_SYSTEM\fR\fR .ad .RS 22n .rt An underlying system call or library function failed; \fBerrno\fR(3C) is preserved where possible. .RE .sp .LP The \fBpool_strerror()\fR function returns a pointer to the string corresponding to the requested error value. If the error value has no corresponding string, \(mi1 is returned and \fBerrno\fR is set to indicate the error. .SH ERRORS .sp .LP The \fBpool_strerror()\fR function will fail if: .sp .ne 2 .mk .na \fB\fBESRCH\fR\fR .ad .RS 9n .rt The specified error value is not defined by the pools error facility. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ CSI Enabled _ Interface Stability Uncommitted _ MT-Level Safe .TE .sp .SH SEE ALSO .sp .LP \fBerrno\fR(3C), \fBlibpool\fR(3LIB), \fBpool_error\fR(3POOL), \fBattributes\fR(7)