1 int giop_tx_big_endian
;
5 giop_encode_ulong (unsigned long i
, char *buf
)
7 if (giop_tx_big_endian
)
9 *(unsigned long *) buf
= i
;
14 *buf
++ = (i
>> 8) & 0xff;
15 *buf
++ = (i
>> 16) & 0xff;
16 *buf
= (i
>> 24) & 0xff;
24 time_giop_encode (unsigned long l
)
29 for (c
= 0; c
< (512 * 1024 * 1024); ++c
)
31 giop_encode_ulong (l
, buf
);
36 main (int ac
, char *av
[])
38 giop_tx_big_endian
= 1;