| 1 |
'\" t |
| 2 |
.\" Copyright, the authors of the Linux man-pages project |
| 3 |
.\" |
| 4 |
.\" %%%LICENSE_START(BSD_ONELINE_CDROM) |
| 5 |
.\" This page was taken from the 4.4BSD-Lite CDROM (BSD license) |
| 6 |
.\" %%%LICENSE_END |
| 7 |
.\" |
| 8 |
.TH xdr 3 2025-09-21 "Linux man-pages 6.18" |
| 9 |
.SH NAME |
| 10 |
xdr \- library routines for external data representation |
| 11 |
.SH LIBRARY |
| 12 |
Standard C library |
| 13 |
.RI ( libc ,\~ \-lc ) |
| 14 |
.SH SYNOPSIS AND DESCRIPTION |
| 15 |
These routines allow C programmers to describe |
| 16 |
arbitrary data structures in a machine-independent fashion. |
| 17 |
Data for remote procedure calls are transmitted using these |
| 18 |
routines. |
| 19 |
.P |
| 20 |
The prototypes below are declared in |
| 21 |
.I <rpc/xdr.h> |
| 22 |
and make use of the following types: |
| 23 |
.P |
| 24 |
.RS 4 |
| 25 |
.EX |
| 26 |
.BI "typedef int " bool_t ; |
| 27 |
.P |
| 28 |
.BI "typedef typeof(bool_t (XDR *, void *, ...)) *" xdrproc_t ; |
| 29 |
.EE |
| 30 |
.RE |
| 31 |
.P |
| 32 |
For the declaration of the |
| 33 |
.I XDR |
| 34 |
type, see |
| 35 |
.IR <rpc/xdr.h> . |
| 36 |
.P |
| 37 |
.nf |
| 38 |
.BI "bool_t xdr_array(XDR *" xdrs ", char **" arrp ", unsigned int *" sizep , |
| 39 |
.BI " unsigned int " maxsize ", unsigned int " elsize , |
| 40 |
.BI " xdrproc_t " elproc ); |
| 41 |
.fi |
| 42 |
.IP |
| 43 |
A filter primitive that translates between variable-length arrays |
| 44 |
and their corresponding external representations. |
| 45 |
The argument |
| 46 |
.I arrp |
| 47 |
is the address of the pointer to the array, while |
| 48 |
.I sizep |
| 49 |
is the address of the element count of the array; |
| 50 |
this element count cannot exceed |
| 51 |
.IR maxsize . |
| 52 |
The argument |
| 53 |
.I elsize |
| 54 |
is the |
| 55 |
.I sizeof |
| 56 |
each of the array's elements, and |
| 57 |
.I elproc |
| 58 |
is an XDR filter that translates between |
| 59 |
the array elements' C form, and their external |
| 60 |
representation. |
| 61 |
This routine returns one if it succeeds, zero otherwise. |
| 62 |
.P |
| 63 |
.nf |
| 64 |
.BI "bool_t xdr_bool(XDR *" xdrs ", bool_t *" bp ); |
| 65 |
.fi |
| 66 |
.IP |
| 67 |
A filter primitive that translates between booleans (C |
| 68 |
integers) |
| 69 |
and their external representations. |
| 70 |
When encoding data, this |
| 71 |
filter produces values of either one or zero. |
| 72 |
This routine returns one if it succeeds, zero otherwise. |
| 73 |
.P |
| 74 |
.nf |
| 75 |
.BI "bool_t xdr_bytes(XDR *" xdrs ", char **" sp ", unsigned int *" sizep , |
| 76 |
.BI " unsigned int " maxsize ); |
| 77 |
.fi |
| 78 |
.IP |
| 79 |
A filter primitive that translates between counted byte |
| 80 |
strings and their external representations. |
| 81 |
The argument |
| 82 |
.I sp |
| 83 |
is the address of the string pointer. |
| 84 |
The length of the |
| 85 |
string is located at address |
| 86 |
.IR sizep ; |
| 87 |
strings cannot be longer than |
| 88 |
.IR maxsize . |
| 89 |
This routine returns one if it succeeds, zero otherwise. |
| 90 |
.P |
| 91 |
.nf |
| 92 |
.BI "bool_t xdr_char(XDR *" xdrs ", char *" cp ); |
| 93 |
.fi |
| 94 |
.IP |
| 95 |
A filter primitive that translates between C characters |
| 96 |
and their external representations. |
| 97 |
This routine returns one if it succeeds, zero otherwise. |
| 98 |
Note: encoded characters are not packed, and occupy 4 bytes each. |
| 99 |
For arrays of characters, it is worthwhile to |
| 100 |
consider |
| 101 |
.BR xdr_bytes (), |
| 102 |
.BR xdr_opaque (), |
| 103 |
or |
| 104 |
.BR xdr_string (). |
| 105 |
.P |
| 106 |
.nf |
| 107 |
.BI "void xdr_destroy(XDR *" xdrs ); |
| 108 |
.fi |
| 109 |
.IP |
| 110 |
A macro that invokes the destroy routine associated with the XDR stream, |
| 111 |
.IR xdrs . |
| 112 |
Destruction usually involves freeing private data structures |
| 113 |
associated with the stream. |
| 114 |
Using |
| 115 |
.I xdrs |
| 116 |
after invoking |
| 117 |
.BR xdr_destroy () |
| 118 |
is undefined. |
| 119 |
.P |
| 120 |
.nf |
| 121 |
.BI "bool_t xdr_double(XDR *" xdrs ", double *" dp ); |
| 122 |
.fi |
| 123 |
.IP |
| 124 |
A filter primitive that translates between C |
| 125 |
.I double |
| 126 |
precision numbers and their external representations. |
| 127 |
This routine returns one if it succeeds, zero otherwise. |
| 128 |
.P |
| 129 |
.nf |
| 130 |
.BI "bool_t xdr_enum(XDR *" xdrs ", enum_t *" ep ); |
| 131 |
.fi |
| 132 |
.IP |
| 133 |
A filter primitive that translates between C |
| 134 |
.IR enum s |
| 135 |
(actually integers) and their external representations. |
| 136 |
This routine returns one if it succeeds, zero otherwise. |
| 137 |
.P |
| 138 |
.nf |
| 139 |
.BI "bool_t xdr_float(XDR *" xdrs ", float *" fp ); |
| 140 |
.fi |
| 141 |
.IP |
| 142 |
A filter primitive that translates between C |
| 143 |
.IR float s |
| 144 |
and their external representations. |
| 145 |
This routine returns one if it succeeds, zero otherwise. |
| 146 |
.P |
| 147 |
.nf |
| 148 |
.BI "void xdr_free(xdrproc_t " proc ", char *" objp ); |
| 149 |
.fi |
| 150 |
.IP |
| 151 |
Generic freeing routine. |
| 152 |
The first argument is the XDR routine for the object being freed. |
| 153 |
The second argument is a pointer to the object itself. |
| 154 |
Note: the pointer passed to this routine is |
| 155 |
.I not |
| 156 |
freed, but what it points to |
| 157 |
.I is |
| 158 |
freed (recursively). |
| 159 |
.P |
| 160 |
.nf |
| 161 |
.BI "unsigned int xdr_getpos(XDR *" xdrs ); |
| 162 |
.fi |
| 163 |
.IP |
| 164 |
A macro that invokes the get-position routine |
| 165 |
associated with the XDR stream, |
| 166 |
.IR xdrs . |
| 167 |
The routine returns an unsigned integer, |
| 168 |
which indicates the position of the XDR byte stream. |
| 169 |
A desirable feature of XDR |
| 170 |
streams is that simple arithmetic works with this number, |
| 171 |
although the XDR stream instances need not guarantee this. |
| 172 |
.P |
| 173 |
.nf |
| 174 |
.BI "long *xdr_inline(XDR *" xdrs ", int " len ); |
| 175 |
.fi |
| 176 |
.IP |
| 177 |
A macro that invokes the inline routine associated with the XDR stream, |
| 178 |
.IR xdrs . |
| 179 |
The routine returns a pointer |
| 180 |
to a contiguous piece of the stream's buffer; |
| 181 |
.I len |
| 182 |
is the byte length of the desired buffer. |
| 183 |
Note: pointer is cast to |
| 184 |
.IR "long\ *" . |
| 185 |
.IP |
| 186 |
Warning: |
| 187 |
.BR xdr_inline () |
| 188 |
may return NULL (0) |
| 189 |
if it cannot allocate a contiguous piece of a buffer. |
| 190 |
Therefore the behavior may vary among stream instances; |
| 191 |
it exists for the sake of efficiency. |
| 192 |
.P |
| 193 |
.nf |
| 194 |
.BI "bool_t xdr_int(XDR *" xdrs ", int *" ip ); |
| 195 |
.fi |
| 196 |
.IP |
| 197 |
A filter primitive that translates between C integers |
| 198 |
and their external representations. |
| 199 |
This routine returns one if it succeeds, zero otherwise. |
| 200 |
.P |
| 201 |
.nf |
| 202 |
.BI "bool_t xdr_long(XDR *" xdrs ", long *" lp ); |
| 203 |
.fi |
| 204 |
.IP |
| 205 |
A filter primitive that translates between C |
| 206 |
.I long |
| 207 |
integers and their external representations. |
| 208 |
This routine returns one if it succeeds, zero otherwise. |
| 209 |
.P |
| 210 |
.nf |
| 211 |
.BI "void xdrmem_create(XDR *" xdrs ", char *" addr ", unsigned int " size , |
| 212 |
.BI " enum xdr_op " op ); |
| 213 |
.fi |
| 214 |
.IP |
| 215 |
This routine initializes the XDR stream object pointed to by |
| 216 |
.IR xdrs . |
| 217 |
The stream's data is written to, or read from, |
| 218 |
a chunk of memory at location |
| 219 |
.I addr |
| 220 |
whose length is no more than |
| 221 |
.I size |
| 222 |
bytes long. |
| 223 |
The |
| 224 |
.I op |
| 225 |
determines the direction of the XDR stream (either |
| 226 |
.BR XDR_ENCODE , |
| 227 |
.BR XDR_DECODE , |
| 228 |
or |
| 229 |
.BR XDR_FREE ). |
| 230 |
.P |
| 231 |
.nf |
| 232 |
.BI "bool_t xdr_opaque(XDR *" xdrs ", char *" cp ", unsigned int " cnt ); |
| 233 |
.fi |
| 234 |
.IP |
| 235 |
A filter primitive that translates between fixed size opaque data |
| 236 |
and its external representation. |
| 237 |
The argument |
| 238 |
.I cp |
| 239 |
is the address of the opaque object, and |
| 240 |
.I cnt |
| 241 |
is its size in bytes. |
| 242 |
This routine returns one if it succeeds, zero otherwise. |
| 243 |
.P |
| 244 |
.nf |
| 245 |
.BI "bool_t xdr_pointer(XDR *" xdrs ", char **" objpp , |
| 246 |
.BI " unsigned int " objsize ", xdrproc_t " xdrobj ); |
| 247 |
.fi |
| 248 |
.IP |
| 249 |
Like |
| 250 |
.BR xdr_reference () |
| 251 |
except that it serializes null pointers, whereas |
| 252 |
.BR xdr_reference () |
| 253 |
does not. |
| 254 |
Thus, |
| 255 |
.BR xdr_pointer () |
| 256 |
can represent |
| 257 |
recursive data structures, such as binary trees or |
| 258 |
linked lists. |
| 259 |
.P |
| 260 |
.nf |
| 261 |
.BI "void xdrrec_create(XDR *" xdrs ", unsigned int " sendsize , |
| 262 |
.BI " unsigned int " recvsize ", char *" handle , |
| 263 |
.BI " typeof(int (char *, char *, int)) *" readit , |
| 264 |
.BI " typeof(int (char *, char *, int)) *" writeit ); |
| 265 |
.fi |
| 266 |
.IP |
| 267 |
This routine initializes the XDR stream object pointed to by |
| 268 |
.IR xdrs . |
| 269 |
The stream's data is written to a buffer of size |
| 270 |
.IR sendsize ; |
| 271 |
a value of zero indicates the system should use a suitable default. |
| 272 |
The stream's data is read from a buffer of size |
| 273 |
.IR recvsize ; |
| 274 |
it too can be set to a suitable default by passing a zero value. |
| 275 |
When a stream's output buffer is full, |
| 276 |
.I writeit |
| 277 |
is called. |
| 278 |
Similarly, when a stream's input buffer is empty, |
| 279 |
.I readit |
| 280 |
is called. |
| 281 |
The behavior of these two routines is similar to |
| 282 |
the system calls |
| 283 |
.BR read (2) |
| 284 |
and |
| 285 |
.BR write (2), |
| 286 |
except that |
| 287 |
.I handle |
| 288 |
is passed to the former routines as the first argument. |
| 289 |
Note: the XDR stream's |
| 290 |
.I op |
| 291 |
field must be set by the caller. |
| 292 |
.IP |
| 293 |
Warning: to read from an XDR stream created by this API, |
| 294 |
you'll need to call |
| 295 |
.BR xdrrec_skiprecord () |
| 296 |
first before calling any other XDR APIs. |
| 297 |
This inserts additional bytes in the stream to provide |
| 298 |
record boundary information. |
| 299 |
Also, XDR streams created with different |
| 300 |
.B xdr*_create |
| 301 |
APIs are not compatible for the same reason. |
| 302 |
.P |
| 303 |
.nf |
| 304 |
.BI "bool_t xdrrec_endofrecord(XDR *" xdrs ", int " sendnow ); |
| 305 |
.fi |
| 306 |
.IP |
| 307 |
This routine can be invoked only on streams created by |
| 308 |
.BR xdrrec_create (). |
| 309 |
The data in the output buffer is marked as a completed record, |
| 310 |
and the output buffer is optionally written out if |
| 311 |
.I sendnow |
| 312 |
is nonzero. |
| 313 |
This routine returns one if it succeeds, zero otherwise. |
| 314 |
.P |
| 315 |
.nf |
| 316 |
.BI "bool_t xdrrec_eof(XDR *" xdrs ); |
| 317 |
.fi |
| 318 |
.IP |
| 319 |
This routine can be invoked only on streams created by |
| 320 |
.BR xdrrec_create (). |
| 321 |
After consuming the rest of the current record in the stream, |
| 322 |
this routine returns one if the stream has no more input, |
| 323 |
zero otherwise. |
| 324 |
.P |
| 325 |
.nf |
| 326 |
.BI "bool_t xdrrec_skiprecord(XDR *" xdrs ); |
| 327 |
.fi |
| 328 |
.IP |
| 329 |
This routine can be invoked only on |
| 330 |
streams created by |
| 331 |
.BR xdrrec_create (). |
| 332 |
It tells the XDR implementation that the rest of the current record |
| 333 |
in the stream's input buffer should be discarded. |
| 334 |
This routine returns one if it succeeds, zero otherwise. |
| 335 |
.P |
| 336 |
.nf |
| 337 |
.BI "bool_t xdr_reference(XDR *" xdrs ", char **" pp ", unsigned int " size , |
| 338 |
.BI " xdrproc_t " proc ); |
| 339 |
.fi |
| 340 |
.IP |
| 341 |
A primitive that provides pointer chasing within structures. |
| 342 |
The argument |
| 343 |
.I pp |
| 344 |
is the address of the pointer; |
| 345 |
.I size |
| 346 |
is the |
| 347 |
.I sizeof |
| 348 |
the structure that |
| 349 |
.I *pp |
| 350 |
points to; |
| 351 |
and |
| 352 |
.I proc |
| 353 |
is an XDR procedure that filters the structure |
| 354 |
between its C form and its external representation. |
| 355 |
This routine returns one if it succeeds, zero otherwise. |
| 356 |
.IP |
| 357 |
Warning: this routine does not understand null pointers. |
| 358 |
Use |
| 359 |
.BR xdr_pointer () |
| 360 |
instead. |
| 361 |
.P |
| 362 |
.nf |
| 363 |
.BI "xdr_setpos(XDR *" xdrs ", unsigned int " pos ); |
| 364 |
.fi |
| 365 |
.IP |
| 366 |
A macro that invokes the set position routine associated with |
| 367 |
the XDR stream |
| 368 |
.IR xdrs . |
| 369 |
The argument |
| 370 |
.I pos |
| 371 |
is a position value obtained from |
| 372 |
.BR xdr_getpos (). |
| 373 |
This routine returns one if the XDR stream could be repositioned, |
| 374 |
and zero otherwise. |
| 375 |
.IP |
| 376 |
Warning: it is difficult to reposition some types of XDR |
| 377 |
streams, so this routine may fail with one |
| 378 |
type of stream and succeed with another. |
| 379 |
.P |
| 380 |
.nf |
| 381 |
.BI "bool_t xdr_short(XDR *" xdrs ", short *" sp ); |
| 382 |
.fi |
| 383 |
.IP |
| 384 |
A filter primitive that translates between C |
| 385 |
.I short |
| 386 |
integers and their external representations. |
| 387 |
This routine returns one if it succeeds, zero otherwise. |
| 388 |
.P |
| 389 |
.nf |
| 390 |
.BI "void xdrstdio_create(XDR *" xdrs ", FILE *" file ", enum xdr_op " op ); |
| 391 |
.fi |
| 392 |
.IP |
| 393 |
This routine initializes the XDR stream object pointed to by |
| 394 |
.IR xdrs . |
| 395 |
The XDR stream data is written to, or read from, the |
| 396 |
.I stdio |
| 397 |
stream |
| 398 |
.IR file . |
| 399 |
The argument |
| 400 |
.I op |
| 401 |
determines the direction of the XDR stream (either |
| 402 |
.BR XDR_ENCODE , |
| 403 |
.BR XDR_DECODE , |
| 404 |
or |
| 405 |
.BR XDR_FREE ). |
| 406 |
.IP |
| 407 |
Warning: the destroy routine associated with such XDR streams calls |
| 408 |
.BR fflush (3) |
| 409 |
on the |
| 410 |
.I file |
| 411 |
stream, but never |
| 412 |
.BR fclose (3). |
| 413 |
.P |
| 414 |
.nf |
| 415 |
.BI "bool_t xdr_string(XDR *" xdrs ", char **" sp ", unsigned int " maxsize ); |
| 416 |
.fi |
| 417 |
.IP |
| 418 |
A filter primitive that translates between C strings and |
| 419 |
their corresponding external representations. |
| 420 |
Strings cannot be longer than |
| 421 |
.IR maxsize . |
| 422 |
Note: |
| 423 |
.I sp |
| 424 |
is the address of the string's pointer. |
| 425 |
This routine returns one if it succeeds, zero otherwise. |
| 426 |
.P |
| 427 |
.nf |
| 428 |
.BI "bool_t xdr_u_char(XDR *" xdrs ", unsigned char *" ucp ); |
| 429 |
.fi |
| 430 |
.IP |
| 431 |
A filter primitive that translates between |
| 432 |
.I unsigned |
| 433 |
C characters and their external representations. |
| 434 |
This routine returns one if it succeeds, zero otherwise. |
| 435 |
.P |
| 436 |
.nf |
| 437 |
.BI "bool_t xdr_u_int(XDR *" xdrs ", unsigned int *" up ); |
| 438 |
.fi |
| 439 |
.IP |
| 440 |
A filter primitive that translates between C |
| 441 |
.I unsigned |
| 442 |
integers and their external representations. |
| 443 |
This routine returns one if it succeeds, zero otherwise. |
| 444 |
.P |
| 445 |
.nf |
| 446 |
.BI "bool_t xdr_u_long(XDR *" xdrs ", unsigned long *" ulp ); |
| 447 |
.fi |
| 448 |
.IP |
| 449 |
A filter primitive that translates between C |
| 450 |
.I "unsigned long" |
| 451 |
integers and their external representations. |
| 452 |
This routine returns one if it succeeds, zero otherwise. |
| 453 |
.P |
| 454 |
.nf |
| 455 |
.BI "bool_t xdr_u_short(XDR *" xdrs ", unsigned short *" usp ); |
| 456 |
.fi |
| 457 |
.IP |
| 458 |
A filter primitive that translates between C |
| 459 |
.I "unsigned short" |
| 460 |
integers and their external representations. |
| 461 |
This routine returns one if it succeeds, zero otherwise. |
| 462 |
.P |
| 463 |
.nf |
| 464 |
.BI "bool_t xdr_union(XDR *" xdrs ", enum_t *" dscmp ", char *" unp , |
| 465 |
.BI " const struct xdr_discrim *" choices , |
| 466 |
.BI " xdrproc_t " defaultarm "); /* may equal NULL */" |
| 467 |
.fi |
| 468 |
.IP |
| 469 |
A filter primitive that translates between a discriminated C |
| 470 |
.I union |
| 471 |
and its corresponding external representation. |
| 472 |
It first |
| 473 |
translates the discriminant of the union located at |
| 474 |
.IR dscmp . |
| 475 |
This discriminant is always an |
| 476 |
.IR enum_t . |
| 477 |
Next the union located at |
| 478 |
.I unp |
| 479 |
is translated. |
| 480 |
The argument |
| 481 |
.I choices |
| 482 |
is a pointer to an array of |
| 483 |
.BR xdr_discrim () |
| 484 |
structures. |
| 485 |
Each structure contains an ordered pair of |
| 486 |
.RI [ value , proc ]. |
| 487 |
If the union's discriminant is equal to the associated |
| 488 |
.IR value , |
| 489 |
then the |
| 490 |
.I proc |
| 491 |
is called to translate the union. |
| 492 |
The end of the |
| 493 |
.BR xdr_discrim () |
| 494 |
structure array is denoted by a routine of value NULL. |
| 495 |
If the discriminant is not found in the |
| 496 |
.I choices |
| 497 |
array, then the |
| 498 |
.I defaultarm |
| 499 |
procedure is called (if it is not NULL). |
| 500 |
Returns one if it succeeds, zero otherwise. |
| 501 |
.P |
| 502 |
.nf |
| 503 |
.BI "bool_t xdr_vector(XDR *" xdrs ", char *" arrp ", unsigned int " size , |
| 504 |
.BI " unsigned int " elsize ", xdrproc_t " elproc ); |
| 505 |
.fi |
| 506 |
.IP |
| 507 |
A filter primitive that translates between fixed-length arrays |
| 508 |
and their corresponding external representations. |
| 509 |
The argument |
| 510 |
.I arrp |
| 511 |
is the address of the pointer to the array, while |
| 512 |
.I size |
| 513 |
is the element count of the array. |
| 514 |
The argument |
| 515 |
.I elsize |
| 516 |
is the |
| 517 |
.I sizeof |
| 518 |
each of the array's elements, and |
| 519 |
.I elproc |
| 520 |
is an XDR filter that translates between |
| 521 |
the array elements' C form, and their external |
| 522 |
representation. |
| 523 |
This routine returns one if it succeeds, zero otherwise. |
| 524 |
.P |
| 525 |
.nf |
| 526 |
.B bool_t xdr_void(void); |
| 527 |
.fi |
| 528 |
.IP |
| 529 |
This routine always returns one. |
| 530 |
It may be passed to RPC routines that require a function argument, |
| 531 |
where nothing is to be done. |
| 532 |
.P |
| 533 |
.nf |
| 534 |
.BI "bool_t xdr_wrapstring(XDR *" xdrs ", char **" sp ); |
| 535 |
.fi |
| 536 |
.IP |
| 537 |
A primitive that calls |
| 538 |
.B "xdr_string(xdrs, sp,MAXUN.UNSIGNED );" |
| 539 |
where |
| 540 |
.B MAXUN.UNSIGNED |
| 541 |
is the maximum value of an unsigned integer. |
| 542 |
.BR xdr_wrapstring () |
| 543 |
is handy because the RPC package passes a maximum of two XDR |
| 544 |
routines as arguments, and |
| 545 |
.BR xdr_string (), |
| 546 |
one of the most frequently used primitives, requires three. |
| 547 |
Returns one if it succeeds, zero otherwise. |
| 548 |
.SH ATTRIBUTES |
| 549 |
For an explanation of the terms used in this section, see |
| 550 |
.BR attributes (7). |
| 551 |
.TS |
| 552 |
allbox; |
| 553 |
lbx lb lb |
| 554 |
l l l. |
| 555 |
Interface Attribute Value |
| 556 |
T{ |
| 557 |
.na |
| 558 |
.nh |
| 559 |
.BR xdr_array (), |
| 560 |
.BR xdr_bool (), |
| 561 |
.BR xdr_bytes (), |
| 562 |
.BR xdr_char (), |
| 563 |
.BR xdr_destroy (), |
| 564 |
.BR xdr_double (), |
| 565 |
.BR xdr_enum (), |
| 566 |
.BR xdr_float (), |
| 567 |
.BR xdr_free (), |
| 568 |
.BR xdr_getpos (), |
| 569 |
.BR xdr_inline (), |
| 570 |
.BR xdr_int (), |
| 571 |
.BR xdr_long (), |
| 572 |
.BR xdrmem_create (), |
| 573 |
.BR xdr_opaque (), |
| 574 |
.BR xdr_pointer (), |
| 575 |
.BR xdrrec_create (), |
| 576 |
.BR xdrrec_eof (), |
| 577 |
.BR xdrrec_endofrecord (), |
| 578 |
.BR xdrrec_skiprecord (), |
| 579 |
.BR xdr_reference (), |
| 580 |
.BR xdr_setpos (), |
| 581 |
.BR xdr_short (), |
| 582 |
.BR xdrstdio_create (), |
| 583 |
.BR xdr_string (), |
| 584 |
.BR xdr_u_char (), |
| 585 |
.BR xdr_u_int (), |
| 586 |
.BR xdr_u_long (), |
| 587 |
.BR xdr_u_short (), |
| 588 |
.BR xdr_union (), |
| 589 |
.BR xdr_vector (), |
| 590 |
.BR xdr_void (), |
| 591 |
.BR xdr_wrapstring () |
| 592 |
T} Thread safety MT-Safe |
| 593 |
.TE |
| 594 |
.SH SEE ALSO |
| 595 |
.BR rpc (3) |
| 596 |
.P |
| 597 |
The following manuals: |
| 598 |
.RS |
| 599 |
eXternal Data Representation Standard: Protocol Specification |
| 600 |
.br |
| 601 |
eXternal Data Representation: Sun Technical Notes |
| 602 |
.br |
| 603 |
.IR "XDR: External Data Representation Standard" , |
| 604 |
RFC\ 1014, Sun Microsystems, Inc., |
| 605 |
USC-ISI. |
| 606 |
.RE |