MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions              mlibVectorZeroU8(3MLIB)



NAME
     mlibVectorZeroU8, mlibVectorZeroU8C, mlibVectorZeroS8,
     mlibVectorZeroS8C,                    mlibVectorZeroS16,
     mlibVectorZeroS16C,                   mlibVectorZeroS32,
     mlibVectorZeroS32C - initialize vector to zero

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

     mlibstatus mlibVectorZeroU8(mlibu8 *z, mlibs32 n);


     mlibstatus mlibVectorZeroU8C(mlibu8 *z, mlibs32 n);


     mlibstatus mlibVectorZeroS8(mlibs8 *z, mlibs32 n);


     mlibstatus mlibVectorZeroS8C(mlibs8 *z, mlibs32 n);


     mlibstatus mlibVectorZeroS16(mlibs16 *z, mlibs32 n);


     mlibstatus mlibVectorZeroS16C(mlibs16 *z, mlibs32 n);


     mlibstatus mlibVectorZeroS32(mlibs32 *z, mlibs32 n);


     mlibstatus mlibVectorZeroS32C(mlibs32 *z, mlibs32 n);


DESCRIPTION
     Each of these functions initializes a vector to zero.


     The following equation is used:

       z[i] = 0



     where i = 0, 1, ..., (n - 1) for real data; i = 0,  1,  ...,
     (2*n - 1) for complex data.

PARAMETERS
     Each of the functions takes the following arguments:

     z    Pointer to the first element of the destination vector.




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions              mlibVectorZeroU8(3MLIB)



     n    Number of elements in the vector.


RETURN VALUES
     Each of the functions returns  MLIBSUCES  if  successful.
     Otherwise it returns MLIBFAILURE.

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



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


SEE ALSO
     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 ™