summaryrefslogtreecommitdiff
path: root/usr/src/man/man3nsl/xdr_create.3nsl
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3nsl/xdr_create.3nsl')
-rw-r--r--usr/src/man/man3nsl/xdr_create.3nsl23
1 files changed, 7 insertions, 16 deletions
diff --git a/usr/src/man/man3nsl/xdr_create.3nsl b/usr/src/man/man3nsl/xdr_create.3nsl
index 95a848b928..2f189ea73b 100644
--- a/usr/src/man/man3nsl/xdr_create.3nsl
+++ b/usr/src/man/man3nsl/xdr_create.3nsl
@@ -1,10 +1,10 @@
'\" te
-.\" Copyright 1989 AT&T
+.\" Copyright 1989 AT&T
.\" Copyright (C) 2000, 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 xdr_create 3NSL "26 Sep 2000" "SunOS 5.11" "Networking Services Library Functions"
+.TH XDR_CREATE 3NSL "Sep 26, 2000"
.SH NAME
xdr_create, xdr_destroy, xdrmem_create, xdrrec_create, xdrstdio_create \-
library routines for external data representation stream creation
@@ -55,12 +55,10 @@ must be properly aligned. Use \fBmalloc\fR(3C) to allocate these buffers or be
sure that the buffer address is divisible evenly by four.
.sp
.ne 2
-.mk
.na
\fB\fBxdr_destroy()\fR\fR
.ad
.RS 21n
-.rt
A macro that invokes the destroy routine associated with the \fBXDR\fR stream,
\fIxdrs\fR. Private data structures associated with the stream are freed.
Using \fIxdrs\fR after \fBxdr_destroy()\fR is invoked is undefined.
@@ -68,12 +66,10 @@ Using \fIxdrs\fR after \fBxdr_destroy()\fR is invoked is undefined.
.sp
.ne 2
-.mk
.na
\fB\fBxdrmem_create()\fR\fR
.ad
.RS 21n
-.rt
This routine initializes the \fBXDR\fR stream object pointed to by \fIxdrs\fR.
The stream's data is written to or read from a chunk of memory at location
\fIaddr\fR whose length is no less than \fIsize\fR bytes long. The \fIop\fR
@@ -83,12 +79,10 @@ either \fBXDR_ENCODE\fR, \fBXDR_DECODE\fR, or \fBXDR_FREE\fR.
.sp
.ne 2
-.mk
.na
\fB\fBxdrrec_create()\fR\fR
.ad
.RS 21n
-.rt
This routine initializes the read-oriented \fBXDR\fR stream object pointed to
by \fIxdrs\fR. The stream's data is written to a buffer of size \fIsendsz\fR. A
value of \fB0\fR indicates the system should use a suitable default. The
@@ -108,12 +102,10 @@ additional bytes in the stream are provided for record boundary information.
.sp
.ne 2
-.mk
.na
\fB\fBxdrstdio_create()\fR\fR
.ad
.RS 21n
-.rt
This routine initializes the \fBXDR\fR stream object pointed to by \fIxdrs\fR.
The \fBXDR\fR stream data is written to or read from the standard \fBI/O\fR
stream \fBfile\fR. The parameter \fIop\fR determines the direction of the
@@ -140,13 +132,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO