1mlib_VectorReverseByteOrderm_eIdnipa(L3iMbLILBi)brarmyliFbu_nVcetcitoonrsReverseByteOrder_Inp(3MLIB)
2
3
4
6 mlib_VectorReverseByteOrder_Inp - reverse byte order of vector, in
7 place
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VectorReverseByteOrder_Inp(void *xz,
14 mlib_s32 n, mlib_s32 s);
15
16
18 The mlib_VectorReverseByteOrder_Inp() function changes the encoding of
19 each element from big endian to little endian, or from little endian to
20 big endian.
21
22
23 It reverses the byte order of each element of the vector, in place.
24
26 The function takes the following arguments:
27
28 xz Pointer to the input and output vector.
29
30
31 n Number of elements in the vectors.
32
33
34 s Size of elements in bytes.
35
36
38 The function returns MLIB_SUCCESS if successful. Otherwise it returns
39 MLIB_FAILURE.
40
42 See attributes(5) for descriptions of the following attributes:
43
44
45
46
47 ┌─────────────────────────────┬─────────────────────────────┐
48 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │Interface Stability │Committed │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │MT-Level │MT-Safe │
53 └─────────────────────────────┴─────────────────────────────┘
54
56 mlib_VectorReverseByteOrder(3MLIB), mlib_VectorReverseByte‐
57 Order_S16(3MLIB), mlib_VectorReverseByteOrder_S16_S16(3MLIB),
58 attributes(5)
59
60
61
62SunOS 5.11 2 Mar 2m0l0i7b_VectorReverseByteOrder_Inp(3MLIB)