xdr.3 (1abae7ee854172dad0d6964d4325944712c99919) xdr.3 (14e6355f0272e4b60e6d9edc8f1516bdc0c85fd0)
1.\" @(#)xdr.3n 2.2 88/08/03 4.0 RPCSRC; from 1.16 88/03/14 SMI
2.\" $FreeBSD$
3.\"
4.Dd February 16, 1988
5.Dt XDR 3
6.Os
7.Sh NAME
8.Nm xdr
9.Nd "library routines for external data representation"
10.Sh LIBRARY
11.Lb libc
12.Sh SYNOPSIS
1.\" @(#)xdr.3n 2.2 88/08/03 4.0 RPCSRC; from 1.16 88/03/14 SMI
2.\" $FreeBSD$
3.\"
4.Dd February 16, 1988
5.Dt XDR 3
6.Os
7.Sh NAME
8.Nm xdr
9.Nd "library routines for external data representation"
10.Sh LIBRARY
11.Lb libc
12.Sh SYNOPSIS
13.Fd "#include <rpc/types.h>"
13.Fd "#include <rpc/xdr.h>"
14.Pp
15See
16.Sx DESCRIPTION
17for function declarations.
18.Sh DESCRIPTION
19These routines allow C programmers to describe
20arbitrary data structures in a machine-independent fashion.

--- 469 unchanged lines hidden (view full) ---

490.Fn xdr_short "XDR *xdrs" "short *sp"
491.Xc
492.Pp
493A filter primitive that translates between C
494.Vt short
495integers and their external representations.
496This routine returns one if it succeeds, zero otherwise.
497.Pp
14.Fd "#include <rpc/xdr.h>"
15.Pp
16See
17.Sx DESCRIPTION
18for function declarations.
19.Sh DESCRIPTION
20These routines allow C programmers to describe
21arbitrary data structures in a machine-independent fashion.

--- 469 unchanged lines hidden (view full) ---

491.Fn xdr_short "XDR *xdrs" "short *sp"
492.Xc
493.Pp
494A filter primitive that translates between C
495.Vt short
496integers and their external representations.
497This routine returns one if it succeeds, zero otherwise.
498.Pp
499.Fd #ifdef _STDIO_H_
500.Fd /* XDR using stdio library */
498.It Xo
499.Ft void
500.Xc
501.It Xo
502.Fn xdrstdio_create "XDR *xdrs" "FILE *file" "enum xdr_op op"
503.Xc
501.It Xo
502.Ft void
503.Xc
504.It Xo
505.Fn xdrstdio_create "XDR *xdrs" "FILE *file" "enum xdr_op op"
506.Xc
507.Fd #endif
504.Pp
505This routine initializes the
506.Tn XDR
507stream object pointed to by
508.Fa xdrs .
509The
510.Tn XDR
511stream data is written to, or read from, the Standard

--- 218 unchanged lines hidden ---
508.Pp
509This routine initializes the
510.Tn XDR
511stream object pointed to by
512.Fa xdrs .
513The
514.Tn XDR
515stream data is written to, or read from, the Standard

--- 218 unchanged lines hidden ---