xdr_simple man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

xdr_simple(3scl)					      xdr_simple(3scl)

NAME
       xdr_simple,   xdr_bool,	 xdr_char,  xdr_double,	 xdr_enum,  xdr_float,
       xdr_free, xdr_hyper, xdr_int, xdr_long, xdr_longlong_t,	xdr_quadruple,
       xdr_short,  xdr_u_char, xdr_u_hyper, xdr_u_int, xdr_u_long, xdr_u_long‐
       long_t, xdr_u_short, xdr_void - library routines for external data rep‐
       resentation

LIBRARY
       SCL RPC library (librpc.so)

SYNOPSIS
       #include <rpc/xdr.h>

       bool_t xdr_bool(XDR *xdrs, bool_t *bp);

       bool_t xdr_char(XDR *xdrs, char *cp);

       bool_t xdr_double(XDR *xdrs, double *dp);

       bool_t xdr_enum(XDR *xdrs, enum_t *ep);

       bool_t xdr_float(XDR *xdrs, float *fp);

       void xdr_free(xdrproc_t proc, char *objp);

       bool_t xdr_hyper(XDR *xdrs, longlong_t *llp);

       bool_t xdr_int(XDR *xdrs, int *ip);

       bool_t xdr_long(XDR *xdrs, long *lp);

       bool_t xdr_longlong_t(XDR *xdrs, longlong_t *llp);

       bool_t xdr_quadruple(XDR *xdrs, double *pq);

       bool_t xdr_short(XDR *xdrs, short *sp);

       bool_t xdr_u_char(XDR *xdrs, unsigned char *ucp);

       bool_t xdr_u_hyper(XDR *xdrs, u_longlong_t *ullp);

       bool_t xdr_u_int(XDR *xdrs, unsigned *up);

       bool_t xdr_u_long(XDR *xdrs, unsigned long *ulp);

       bool_t xdr_u_longlong_t(XDR *xdrs, u_longlong_t *ullp);

       bool_t xdr_u_short(XDR *xdrs, unsigned short *usp);

       bool_t xdr_void(void);

DESCRIPTION
       Refer  to the Solaris xdr_simple(3N) man pages for a description of how
       these functions should be used.

SCL IMPLEMENTATION NOTES
       The nomenclature for XDR data types can be  confusing  (long  on	 Tru64
       UNIX  represents	 a  64-bit integer, although it is used to represent a
       32-bit integer in the TI-RPC v2.3 sources).  For the SCL implementation
       of RPC on Tru64 UNIX, the following definitions apply:

       XDR   data   type			       Tru64  UNIX  data  type
       -------------				  --------------------

       xdr_char					  char (8 bits)

       xdr_u_char				  unsigned char (8 bits)

       xdr_short				  short int (16 bits)

       xdr_u_short				  unsigned short int (16 bits)

       xdr_bool, xdr_enum, xdr_int, xdr_long	  int (32 bits)

       xdr_u_int, xdr_u_long			  unsigned int (32 bits)

       xdr_float				  float (32 bits)

       xdr_double, xdr_quadruple		  double (64 bits)

       xdr_hyper, xdr_longlong_t		  long int (64 bits)

       xdr_u_hyper, xdr_u_longlong_t		  unsigned long int (64 bits)

       For this release of SCL RPC, the data type quadruple (128 bit  floating
       point  values)  is not supported.  The function xdr_quadruple exists in
       the SCL RPC library, but only accepts a double argument.	 For  programs
       that use the long double datatype on Tru64 UNIX v4, the C compiler will
       emit a warning message, and treat  the  variable	 as  a	64-bit	double
       value.

RELATED INFORMATION
       Overviews: scl_intro(3scl), scl_rpc(3scl), xdr(3scl)

       Files: scl_error_log(4scl)

       Functions:  rpc_xdr(3scl), xdr_admin(3scl), xdr_complex(3scl), xdr_cre‐
       ate(3scl)

       Utilities: cc(1)

       Solaris man pages: rpc(3N),  xdr_admin(3N),  xdr_complex(3N),  xdr_cre‐
       ate(3N), xdr_simple(3N)

       Manual: Solaris Compatibility Library User's Guide

							      xdr_simple(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net