xdr.nts.ms (6d4b97158fa99be390dba1c61c1d1f547852aef6) | xdr.nts.ms (36daf0495aa68d669ac6abf004940ec1b1e83e42) |
---|---|
1.\" 2.\" Must use -- eqn -- with this one 3.\" 4.\" @(#)xdr.nts.ms 2.2 88/08/05 4.0 RPCSRC 5.\" $FreeBSD$ 6.\" 7.EQ 8delim $$ --- 707 unchanged lines hidden (view full) --- 716the bytes are serialized. 717.LP 718The effect of deserializing a string is subtle. 719First the length of the incoming string is determined; 720it must not exceed 721.I maxlength . 722Next 723.I sp | 1.\" 2.\" Must use -- eqn -- with this one 3.\" 4.\" @(#)xdr.nts.ms 2.2 88/08/05 4.0 RPCSRC 5.\" $FreeBSD$ 6.\" 7.EQ 8delim $$ --- 707 unchanged lines hidden (view full) --- 716the bytes are serialized. 717.LP 718The effect of deserializing a string is subtle. 719First the length of the incoming string is determined; 720it must not exceed 721.I maxlength . 722Next 723.I sp |
724is dereferenced; if the the value is | 724is dereferenced; if the value is |
725.I NULL , 726then a string of the appropriate length is allocated and 727.I *sp 728is set to this string. 729If the original value of 730.I *sp 731is non-null, then the XDR package assumes 732that a target area has been allocated, --- 1236 unchanged lines hidden --- | 725.I NULL , 726then a string of the appropriate length is allocated and 727.I *sp 728is set to this string. 729If the original value of 730.I *sp 731is non-null, then the XDR package assumes 732that a target area has been allocated, --- 1236 unchanged lines hidden --- |