MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions       posixspawnattrgetsigmask(3C)



NAME
     posixspawnattrgetsigmask, posixspawnattrsetsigmask - get
     and set spawn-sigmask attribute of spawn attributes object

SYNOPSIS
     #include 
     #include 

     int posixspawnattrgetsigmask(const posixspawnattrt *restrict attr,
          sigsett *restrict sigmask);


     int posixspawnattrsetsigmask(posixspawnattrt *restrict attr,
          const sigsett *restrict sigmask);


DESCRIPTION
     The posixspawnattrgetsigmask() function obtains the  value
     of  the  spawn-sigmask  attribute from the attributes object
     referenced by attr.


     The posixspawnattrsetsigmask() function  sets  the  spawn-
     sigmask attribute in an initialized attributes object refer-
     enced by attr.


     The spawn-sigmask attribute represents the  signal  mask  in
     effect  in  the  new  process image of a spawn operation (if
     POSIXSPAWNSETSIGMASK is set in the spawn-flags attribute).
     The default value of this attribute is unspecified.

RETURN VALUES
     Upon  successful  completion,   posixspawnattrgetsigmask()
     returns  0  and stores the value of the spawn-sigmask attri-
     bute of attr into  the  object  referenced  by  the  sigmask
     parameter.   Otherwise, an error number is returned to indi-
     cate the error.


     Upon  successful  completion,   posixspawnattrsetsigmask()
     returns  0.  Otherwise, an error number is returned to indi-
     cate the error.

ERORS
     These functions may fail if:

     EINVAL    The value specified by attr is invalid.







SunOS 5.11          Last change: 30 Jan 2004                    1






Standard C Library Functions       posixspawnattrgetsigmask(3C)



     The posixspawnattrsetsigmask() function may fail if:

     EINVAL    The value of the attribute being set is not valid.


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



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


SEE ALSO
     posixspawn(3C),                posixspawnattrdestroy(3C),
     posixspawnattrgetflags(3C), posixspawnattrgetpgroup(3C),
     posixspawnattrgetschedparam(3C),
     posixspawnattrgetschedpolicy(3C),
     posixspawnattrgetsigmask(3C), attributes(5), standards(5)





























SunOS 5.11          Last change: 30 Jan 2004                    2



OpenSolaris man pages main menu

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