MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions     mlibVectorReverseByteOrder(3MLIB)



NAME
     mlibVectorReverseByteOrder - reverse byte order of vector

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     mlibstatus mlibVectorReverseByteOrder(void *z, const void *x,
          mlibs32 n, mlibs32 s);


DESCRIPTION
     The  mlibVectorReverseByteOrder()  function   changes   the
     encoding  of  each element from big endian to little endian,
     or from little endian to big endian.


     It copies and reverses the byte order of each element of the
     input vector into the output vector.

PARAMETERS
     The function takes the following arguments:

     z    Pointer to the output vector.


     x    Pointer to the input vector.


     n    Number of elements in the vectors.


     s    Size of elements in bytes.


RETURN VALUES
     The function returns MLIBSUCES if  successful.  Otherwise
     it returns MLIBFAILURE.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:













SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions     mlibVectorReverseByteOrder(3MLIB)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     mlibVectorReverseByteOrderInp(3MLIB),
     mlibVectorReverseByteOrderS16(3MLIB),
     mlibVectorReverseByteOrderS16S16(3MLIB), attributes(5)










































SunOS 5.11           Last change: 2 Mar 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™