Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/rpc Document the 64-bit XDR routines that Sun also ...
details: https://anonhg.NetBSD.org/src/rev/90197e71631b
branches: trunk
changeset: 479013:90197e71631b
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Dec 01 19:00:23 1999 +0000
description:
Document the 64-bit XDR routines that Sun also documents. This manual
page needs a lot of help:
- restructure it into xdr_admin(3), xdr_complex(3), xdr_create(3), and
xdr_simple(3), as is done in Solaris.
- rewrite in mandoc, and document all of the XDR primitives that NetBSD
actually supplies.
diffstat:
lib/libc/rpc/xdr.3 | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 65 insertions(+), 1 deletions(-)
diffs (120 lines):
diff -r 1fe65b6d52be -r 90197e71631b lib/libc/rpc/xdr.3
--- a/lib/libc/rpc/xdr.3 Wed Dec 01 18:36:18 1999 +0000
+++ b/lib/libc/rpc/xdr.3 Wed Dec 01 19:00:23 1999 +0000
@@ -1,5 +1,5 @@
.\" @(#)xdr.3n 2.2 88/08/03 4.0 RPCSRC; from 1.16 88/03/14 SMI
-.\" $NetBSD: xdr.3,v 1.4 1999/03/04 02:59:43 lukem Exp $
+.\" $NetBSD: xdr.3,v 1.5 1999/12/01 19:00:23 thorpej Exp $
.\"
.TH XDR 3 "16 February 1988"
.SH NAME
@@ -14,9 +14,11 @@
xdr_float,
xdr_free,
xdr_getpos,
+xdr_hyper,
xdr_inline,
xdr_int,
xdr_long,
+xdr_longlong_t,
xdrmem_create,
xdr_opaque,
xdr_pointer,
@@ -30,7 +32,9 @@
xdrstdio_create,
xdr_string,
xdr_u_char,
+xdr_u_hyper,
xdr_u_long,
+xdr_u_longlong_t,
xdr_u_short,
xdr_union,
xdr_vector,
@@ -263,6 +267,21 @@
.ft B
.nf
.sp .5
+xdr_hyper(xdrs, llp)
+\s-1XDR\s0 *xdrs;
+longlong_t *llp;
+.fi
+.ft R
+.IP
+A filter primitive that translates between ANSI C long long integers
+and their external representations.
+This routine returns one if it succeeds, zero otherwise.
+.br
+.if t .ne 7
+.LP
+.ft B
+.nf
+.sp .5
.br
long *
xdr_inline(xdrs, len)
@@ -327,6 +346,21 @@
.ft B
.nf
.sp .5
+xdr_longlong_t(xdrs, llp)
+\s-1XDR\s0 *xdrs;
+longlong_t *llp;
+.fi
+.ft R
+.IP
+A filter primitive that translates between ANSI C long long integers
+and their external representations.
+This routine returns one if it succeeds, zero otherwise.
+.br
+.if t .ne 7
+.LP
+.ft B
+.nf
+.sp .5
void
xdrmem_create(xdrs, addr, size, op)
\s-1XDR\s0 *xdrs;
@@ -679,6 +713,21 @@
.ft B
.nf
.sp .5
+xdr_u_hyper(xdrs, ullp)
+\s-1XDR\s0 *xdrs;
+u_longlong_t *ullp;
+.fi
+.ft R
+.IP
+A filter primitive that translates between unsigned ANSI C long long integers
+and their external representations.
+This routine returns one if it succeeds, zero otherwise.
+.br
+.if t .ne 7
+.LP
+.ft B
+.nf
+.sp .5
xdr_u_int(xdrs, up)
\s-1XDR\s0 *xdrs;
unsigned *up;
@@ -711,6 +760,21 @@
.ft B
.nf
.sp .5
+xdr_u_longlong_t(xdrs, ullp)
+\s-1XDR\s0 *xdrs;
+u_longlong_t *ullp;
+.fi
+.ft R
+.IP
+A filter primitive that translates between unsigned ANSI C long long integers
+and their external representations.
+This routine returns one if it succeeds, zero otherwise.
+.br
+.if t .ne 7
+.LP
+.ft B
+.nf
+.sp .5
xdr_u_short(xdrs, usp)
\s-1XDR\s0 *xdrs;
unsigned short *usp;
Home |
Main Index |
Thread Index |
Old Index