Print this page
4344 Minor typos in the 3nsl man pages
   1 '\" te
   2 .\"  Copyright 1989 AT&T
   3 .\" Copyright (C) 2005, Sun Microsystems, Inc. All Rights Reserved.
   4 .\" 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.
   5 .\" 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.
   6 .\" 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]
   7 .TH RPC_SVC_CREATE 3NSL "Mar 22, 2005"
   8 .SH NAME
   9 rpc_svc_create, svc_control, svc_create, svc_destroy, svc_dg_create,
  10 svc_fd_create, svc_raw_create, svc_tli_create, svc_tp_create, svc_vc_create,
  11 svc_door_create \- server handle creation routines
  12 .SH SYNOPSIS
  13 .LP
  14 .nf
  15 #include <rpc/rpc.h>
  16 
  17 \fBbool_t\fR \fBsvc_control\fR(\fBSVCXPRT *\fR\fIsvc\fR, \fBconst uint_t\fR \fIreq\fR, \fBvoid *\fR\fIinfo\fR);
  18 .fi
  19 
  20 .LP
  21 .nf
  22 \fBint\fR \fBsvc_create\fR(\fBconst void (*\fR\fIdispatch\fR)const struct svc_req *,
  23      const SVCXPRT *, \fBconst rpcprog_t\fR \fIprognum\fR, \fBconst rpcvers_t\fR \fIversnum\fR,
  24      \fBconst char *\fR\fInettype\fR);
  25 .fi
  26 
  27 .LP
  28 .nf
  29 \fBvoid\fR \fBsvc_destroy\fR(\fBSVCXPRT *\fR\fIxprt\fR);
  30 .fi
  31 
  32 .LP
  33 .nf
  34 \fBSVCXPRT *\fR\fBsvc_dg_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst uint_t\fR \fIsendsz\fR,
  35      \fBconst uint_t\fR \fIrecvsz\fR);
  36 .fi
  37 
  38 .LP
  39 .nf
  40 \fBSVCXPRT *\fR\fBsvc_fd_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst uint_t\fR \fIsendsz\fR,
  41      \fBconst uint_t\fR \fIrecvsz\fR);
  42 .fi
  43 
  44 .LP
  45 .nf
  46 \fBSVCXPRT *\fR\fBsvc_raw_create\fR(void)
  47 .fi
  48 
  49 .LP
  50 .nf
  51 \fBSVCXPRT *\fR\fBsvc_tli_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst struct netconfig *\fR\fInetconf\fR,
  52      \fBconst struct t_bind *\fR\fIbind_addr\fR, \fBconst uint_t\fR \fIsendsz\fR,
  53      \fBconst uint_t\fR \fIrecvsz\fR);
  54 .fi
  55 
  56 .LP
  57 .nf
  58 \fBSVCXPRT *\fR\fBsvc_tp_create\fR(\fBconst void (*\fR\fIdispatch\fR)
  59      const struct svc_req *, const SVCXPRT *), \fBconst rpcprog_t\fR \fIprognum\fR,
  60      \fBconst rpcvers_t\fR \fIversnum\fR, \fBconst struct netconfig *\fR\fInetconf\fR);
  61 .fi
  62 
  63 .LP
  64 .nf
  65 \fBSVCXPRT *\fR\fBsvc_vc_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst uint_t\fR \fIsendsz\fR,
  66      \fBconst uint_t\fR \fIrecvsz\fR);
  67 .fi
  68 
  69 .LP
  70 .nf
  71 \fBSVCXPRT *\fR\fBsvc_door_create\fR(\fBvoid (*\fR\fIdispatch\fR)(struct svc_req *, SVCXPRT *),
  72      \fBconst rpcprog_t\fR \fIprognum\fR, \fBconst rpcvers_t\fR \fIversnum\fR,
  73      \fBconst uint_t\fR \fIsendsz\fR);
  74 .fi
  75 
  76 .SH DESCRIPTION
  77 .sp
  78 .LP
  79 These routines are part of the \fBRPC\fR library which allows C language


   1 '\" te
   2 .\"  Copyright 1989 AT&T
   3 .\" Copyright (C) 2005, Sun Microsystems, Inc. All Rights Reserved.
   4 .\" 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.
   5 .\" 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.
   6 .\" 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]
   7 .TH RPC_SVC_CREATE 3NSL "Dec 27, 2013"
   8 .SH NAME
   9 rpc_svc_create, svc_control, svc_create, svc_destroy, svc_dg_create,
  10 svc_fd_create, svc_raw_create, svc_tli_create, svc_tp_create, svc_vc_create,
  11 svc_door_create \- server handle creation routines
  12 .SH SYNOPSIS
  13 .LP
  14 .nf
  15 #include <rpc/rpc.h>
  16 
  17 \fBbool_t\fR \fBsvc_control\fR(\fBSVCXPRT *\fR\fIsvc\fR, \fBconst uint_t\fR \fIreq\fR, \fBvoid *\fR\fIinfo\fR);
  18 .fi
  19 
  20 .LP
  21 .nf
  22 \fBint\fR \fBsvc_create\fR(\fBconst void (*\fR\fIdispatch\fR)(const struct svc_req *,
  23      const SVCXPRT *), \fBconst rpcprog_t\fR \fIprognum\fR, \fBconst rpcvers_t\fR \fIversnum\fR,
  24      \fBconst char *\fR\fInettype\fR);
  25 .fi
  26 
  27 .LP
  28 .nf
  29 \fBvoid\fR \fBsvc_destroy\fR(\fBSVCXPRT *\fR\fIxprt\fR);
  30 .fi
  31 
  32 .LP
  33 .nf
  34 \fBSVCXPRT *\fR\fBsvc_dg_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst uint_t\fR \fIsendsz\fR,
  35      \fBconst uint_t\fR \fIrecvsz\fR);
  36 .fi
  37 
  38 .LP
  39 .nf
  40 \fBSVCXPRT *\fR\fBsvc_fd_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst uint_t\fR \fIsendsz\fR,
  41      \fBconst uint_t\fR \fIrecvsz\fR);
  42 .fi
  43 
  44 .LP
  45 .nf
  46 \fBSVCXPRT *\fR\fBsvc_raw_create\fR(void)
  47 .fi
  48 
  49 .LP
  50 .nf
  51 \fBSVCXPRT *\fR\fBsvc_tli_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst struct netconfig *\fR\fInetconf\fR,
  52      \fBconst struct t_bind *\fR\fIbind_addr\fR, \fBconst uint_t\fR \fIsendsz\fR,
  53      \fBconst uint_t\fR \fIrecvsz\fR);
  54 .fi
  55 
  56 .LP
  57 .nf
  58 \fBSVCXPRT *\fR\fBsvc_tp_create\fR(\fBconst void (*\fR\fIdispatch\fR)
  59      (const struct svc_req *, const SVCXPRT *), \fBconst rpcprog_t\fR \fIprognum\fR,
  60      \fBconst rpcvers_t\fR \fIversnum\fR, \fBconst struct netconfig *\fR\fInetconf\fR);
  61 .fi
  62 
  63 .LP
  64 .nf
  65 \fBSVCXPRT *\fR\fBsvc_vc_create\fR(\fBconst int\fR \fIfildes\fR, \fBconst uint_t\fR \fIsendsz\fR,
  66      \fBconst uint_t\fR \fIrecvsz\fR);
  67 .fi
  68 
  69 .LP
  70 .nf
  71 \fBSVCXPRT *\fR\fBsvc_door_create\fR(\fBvoid (*\fR\fIdispatch\fR)(struct svc_req *, SVCXPRT *),
  72      \fBconst rpcprog_t\fR \fIprognum\fR, \fBconst rpcvers_t\fR \fIversnum\fR,
  73      \fBconst uint_t\fR \fIsendsz\fR);
  74 .fi
  75 
  76 .SH DESCRIPTION
  77 .sp
  78 .LP
  79 These routines are part of the \fBRPC\fR library which allows C language