1mlib_VectorReverseByteOrderm_eSd1i6a(L3iMbLILBi)brarmyliFbu_nVcetcitoonrsReverseByteOrder_S16(3MLIB)
2
3
4

NAME

6       mlib_VectorReverseByteOrder_S16,       mlib_VectorReverseByteOrder_U16,
7       mlib_VectorReverseByteOrder_S32,       mlib_VectorReverseByteOrder_U32,
8       mlib_VectorReverseByteOrder_S64,       mlib_VectorReverseByteOrder_U64,
9       mlib_VectorReverseByteOrder_F32,   mlib_VectorReverseByteOrder_D64    -
10       reverse byte order of vector, in place
11

SYNOPSIS

13       cc [ flag... ] file... -lmlib [ library... ]
14       #include <mlib.h>
15
16       mlib_status mlib_VectorReverseByteOrder_S16(mlib_s16 *xz,
17            mlib_s32 n);
18
19
20       mlib_status mlib_VectorReverseByteOrder_U16(mlib_u16 *xz,
21            mlib_s32 n);
22
23
24       mlib_status mlib_VectorReverseByteOrder_S32(mlib_s32 *xz,
25            mlib_s32 n);
26
27
28       mlib_status mlib_VectorReverseByteOrder_U32(mlib_u32 *xz,
29            mlib_s32 n);
30
31
32       mlib_status mlib_VectorReverseByteOrder_S64(mlib_s64 *xz,
33            mlib_s32 n);
34
35
36       mlib_status mlib_VectorReverseByteOrder_U64(mlib_u64 *xz,
37            mlib_s32 n);
38
39
40       mlib_status mlib_VectorReverseByteOrder_F32(mlib_f32 *xz,
41            mlib_s32 n);
42
43
44       mlib_status mlib_VectorReverseByteOrder_D64(mlib_d64 *xz,
45            mlib_s32 n);
46
47

DESCRIPTION

49       Each  of  these functions changes the encoding of each element from big
50       endian to little endian, or from little endian to big endian.
51
52
53       It reverses the byte order of each element of the vector, in place.
54

PARAMETERS

56       Each of the functions takes the following arguments:
57
58       xz    Pointer to input and output vector.
59
60
61       n     Number of elements in the vectors.
62
63

RETURN VALUES

65       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
66       returns MLIB_FAILURE.
67

ATTRIBUTES

69       See attributes(5) for descriptions of the following attributes:
70
71
72
73
74       ┌─────────────────────────────┬─────────────────────────────┐
75       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
76       ├─────────────────────────────┼─────────────────────────────┤
77       │Interface Stability          │Committed                    │
78       ├─────────────────────────────┼─────────────────────────────┤
79       │MT-Level                     │MT-Safe                      │
80       └─────────────────────────────┴─────────────────────────────┘
81

SEE ALSO

83       mlib_VectorReverseByteOrder(3MLIB),             mlib_VectorReverseByte‐
84       Order_Inp(3MLIB),           mlib_VectorReverseByteOrder_S16_S16(3MLIB),
85       attributes(5)
86
87
88
89SunOS 5.11                        2 Mar 2m0l0i7b_VectorReverseByteOrder_S16(3MLIB)
Impressum