MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions    posixspawnattrgetsigdefault(3C)



NAME
     posixspawnattrgetsigdefault, posixspawnattrsetsigdefault
     - get and set spawn-sigdefault attribute of spawn attributes
     object

SYNOPSIS
     #include 
     #include 

     int posixspawnattrgetsigdefault(const posixspawnattrt *restrict attr,
          sigsett *restrict sigdefault);


     int posixspawnattrsetsigdefault(posixspawnattrt *restrict attr,
          const sigsett *restrict sigdefault);


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


     The  posixspawnattrsetsigdefault()   function   sets   the
     spawn-sigdefault  attribute  in  an  initialized  attributes
     object referenced by attr.


     The spawn-sigdefault attribute represents the set of signals
     to  be  forced to default signal handling in the new process
     image (if POSIXSPAWNSETSIGDEF is set  in  the  spawn-flags
     attribute)  by  a spawn operation. The default value of this
     attribute is an empty signal set.

RETURN VALUES
     Upon successful completion,  posixspawnattrgetsigdefault()
     returns  0  and  stores  the  value  of the spawn-sigdefault
     attribute of attr into the object referenced by  the  sigde-
     fault  parameter.  Otherwise, an error number is returned to
     indicate the error.


     Upon successful completion,  posixspawnattrsetsigdefault()
     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    posixspawnattrgetsigdefault(3C)



     The posixspawnattrsetsigdefault() 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 ™