1mlib_VectorReverseByteOrderm(e3dMiLaILBi)b Library Fumnlcitbi_oVnesctorReverseByteOrder(3MLIB)
2
3
4

NAME

6       mlib_VectorReverseByteOrder - reverse byte order of vector
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_VectorReverseByteOrder(void *z, const void *x,
13            mlib_s32 n, mlib_s32 s);
14
15

DESCRIPTION

17       The mlib_VectorReverseByteOrder() function changes the encoding of each
18       element from big endian to little endian, or from little endian to  big
19       endian.
20
21
22       It copies and reverses the byte order of each element of the input vec‐
23       tor into the output vector.
24

PARAMETERS

26       The function takes the following arguments:
27
28       z    Pointer to the output vector.
29
30
31       x    Pointer to the input vector.
32
33
34       n    Number of elements in the vectors.
35
36
37       s    Size of elements in bytes.
38
39

RETURN VALUES

41       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
42       MLIB_FAILURE.
43

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Committed                    │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │MT-Safe                      │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       mlib_VectorReverseByteOrder_Inp(3MLIB),         mlib_VectorReverseByte‐
60       Order_S16(3MLIB),           mlib_VectorReverseByteOrder_S16_S16(3MLIB),
61       attributes(5)
62
63
64
65SunOS 5.11                        2 Mar 2007mlib_VectorReverseByteOrder(3MLIB)
Impressum