Print this page
4340 rpc_clnt_create(3nsl): rpc_createerr is a variable, not a function

*** 2,12 **** .\" Copyright 1989 AT&T .\" Copyright (C) 2009, Sun Microsystems, Inc. All Rights Reserved .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] ! .TH RPC_CLNT_CREATE 3NSL "Jul 23, 2009" .SH NAME rpc_clnt_create, clnt_control, clnt_create, clnt_create_timed, clnt_create_vers, clnt_create_vers_timed, clnt_destroy, clnt_dg_create, clnt_pcreateerror, clnt_raw_create, clnt_spcreateerror, clnt_tli_create, clnt_tp_create, clnt_tp_create_timed, clnt_vc_create, rpc_createerr, --- 2,12 ---- .\" Copyright 1989 AT&T .\" Copyright (C) 2009, Sun Microsystems, Inc. All Rights Reserved .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] ! .TH RPC_CLNT_CREATE 3NSL "Dec 16, 2013" .SH NAME rpc_clnt_create, clnt_control, clnt_create, clnt_create_timed, clnt_create_vers, clnt_create_vers_timed, clnt_destroy, clnt_dg_create, clnt_pcreateerror, clnt_raw_create, clnt_spcreateerror, clnt_tli_create, clnt_tp_create, clnt_tp_create_timed, clnt_vc_create, rpc_createerr,
*** 108,118 **** \fBconst uint_t\fR \fIrecsz\fR); .fi .LP .nf ! \fBstruct rpc_createerr\fR \fBrpc_createerr\fR .fi .LP .nf \fBCLIENT *\fR\fBclnt_door_create\fR(\fBconst rpcprog_t\fR \fIprognum\fR, --- 108,118 ---- \fBconst uint_t\fR \fIrecsz\fR); .fi .LP .nf ! \fBstruct rpc_createerr\fR \fBrpc_createerr\fR; .fi .LP .nf \fBCLIENT *\fR\fBclnt_door_create\fR(\fBconst rpcprog_t\fR \fIprognum\fR,
*** 129,140 **** requested service, and then sends a reply. .sp .LP These routines are MT-Safe. In the case of multithreaded applications, the \fB-mt\fR option must be specified on the command line at compilation time. ! When the \fB-mt\fR option is specified, \fBrpc_createerr()\fR becomes a macro ! that enables each thread to have its own \fBrpc_createerr()\fR. See \fBthreads\fR(5). .SS "Routines" .sp .LP See \fBrpc\fR(3NSL) for the definition of the \fBCLIENT\fR data structure. --- 129,140 ---- requested service, and then sends a reply. .sp .LP These routines are MT-Safe. In the case of multithreaded applications, the \fB-mt\fR option must be specified on the command line at compilation time. ! When the \fB-mt\fR option is specified, \fBrpc_createerr\fR becomes a macro ! that enables each thread to have its own \fBrpc_createerr\fR. See \fBthreads\fR(5). .SS "Routines" .sp .LP See \fBrpc\fR(3NSL) for the definition of the \fBCLIENT\fR data structure.
*** 516,526 **** .RE .sp .ne 2 .na ! \fB\fBrpc_createerr()\fR\fR .ad .sp .6 .RS 4n A global variable whose value is set by any \fBRPC\fR client handle creation routine that fails. It is used by the routine \fBclnt_pcreateerror()\fR to --- 516,526 ---- .RE .sp .ne 2 .na ! \fB\fBrpc_createerr\fR\fR .ad .sp .6 .RS 4n A global variable whose value is set by any \fBRPC\fR client handle creation routine that fails. It is used by the routine \fBclnt_pcreateerror()\fR to