Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xdr_array(3) — CLIX 3.1r7.6.28

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xdr_bytes(3)

xdr_getpos(3)

xdr_pointer(3)

xdrrec_create(3)

xdr_array(3)

xdr_destroy(3)

xdr_free(3)

xdr_inline(3)

xdrmem_create(3)

xdr_opaque(3)

xdr_union(3)

xdr_vector(3)

xdr_void(3)

authunix_create(3)

clnt_pcreateerror(3)

clnt_perrno(3)

clnt_perror(3)

clntraw_create(3)

clnttcp_create(3)

pmap_set(3)

svc_getargs(3)

svc_getreqset(3)

svc_register(3)

svcerr_auth(3)

svctcp_create(3)

xprt_register(3)

clnt_broadcast(3)

clnt_call(3)

clnt_create(3)

clnt_control(3)

clnt_destroy(3)

clnt_freeres(3)

clnt_geterr(3)

clnt_getmyaddr(3)

registerrpc(3)

svc_destroy(3)

svc_getcaller(3)

svc_run(3)

svc_sendreply(3)

xdr_accepted_reply(3)

xdr_authunix_parms(3)

xdr_callhdr(3)

xdr_callmsg(3)

xdr_opaque_auth(3)

xdr_pmap(3)

xdr_pmaplist(3)

xdr_rejected_reply(3)

xdr_replymsg(3)



  xdrarray(3)                        CLIX                        xdrarray(3)



  NAME

    xdr_array - Provides library function for external data representation

  LIBRARY

    Berkeley Software Distribution Library (libbsd.a)

  SYNOPSIS

    #include <sys/xdr.h>

    xdr_array(
      XDR *xdrs ,
      caddr_t arrp ,
      uint *sizep ,
      uint maxsize ,
      uint elsize ,
      xdrproc_t elproc );

  PARAMETERS

    xdrs     Specifies the address of the XDR handle.

    arrp     Specifies the address of the pointer to the array.

    sizep    Specifies the address of the number of elements in the array.

    maxsize  Specifies the maximum number of elements in the array.

    elsize   Specifies the size of each array element.

    elproc   Specifies the XDR filter function for the array elements.

  DESCRIPTION

    The xdr_array() function allows C programmers to describe arbitrary data
    structures in a machine-independent fashion.  Data for remote procedure
    calls are transmitted using this function.

    The xdr_array() function filter primitive translates between variable-
    length arrays and their corresponding external representations.  The arrp
    parameter is the address of the pointer to the array, while sizep is the
    address of the element count of the array; this element count cannot
    exceed maxsize.  The elsize parameter is the sizeof each of the array's
    elements, and elproc is an XDR filter that translates between the array
    elements' C form, and their external representation.

  RETURN VALUES

    If successful, this function returns 1.  Otherwise, it returns 0.



  2/94 - Intergraph Corporation                                              1






  xdrarray(3)                        CLIX                        xdrarray(3)



  RELATED INFORMATION

    Functions:  xdr_bytes(3), xdr_getpos(3), xdr_pointer(3), xdrrec_create(3),
    xdr_array(3), xdr_destroy(3), xdr_free(3), xdr_inline(3),
    xdrmem_create(3), xdr_opaque(3), xdr_union(3), xdr_vector(3), xdr_void(3),
    authunix_create(3), clnt_pcreateerror(3), clnt_perrno(3), clnt_perror(3),
    clntraw_create(3), clnttcp_create(3), pmap_set(3), svc_getargs(3),
    svc_getreqset(3), svc_register(3), svcerr_auth(3), svctcp_create(3),
    xprt_register(3), clnt_broadcast(3), clnt_call(3), clnt_create(3),
    clnt_control(3), clnt_destroy(3), clnt_freeres(3), clnt_geterr(3),
    clnt_getmyaddr(3), registerrpc(3), svc_destroy(3), svc_getcaller(3),
    svc_run(3), svc_sendreply(3), xdr_accepted_reply(3),
    xdr_authunix_parms(3), xdr_callhdr(3), xdr_callmsg(3), xdr_opaque_auth(3),
    xdr_pmap(3), xdr_pmaplist(3), xdr_rejected_reply(3), xdr_replymsg(3)

    CLIX Programming Guide

    XDR: External Data Representation Standard, RFC1014, Sun Microsystems,
    Inc., USC-ISI



































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026