MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions  posixspawnattrgetsigignorenp(3C)



NAME
     posixspawnattrgetsigignorenp,
     posixspawnattrsetsigignorenp   -   get   and  set  spawn-
     sigignore attribute of spawn attributes object

SYNOPSIS
     #include 
     #include 

     int posixspawnattrgetsigignorenp(
          const posixspawnattrt *restrict attr,
          sigsett *restrict sigignore);


     int posixspawnattrsetsigignorenp(
          posixspawnattrt *restrict attr,
          const sigsett *restrict sigignore);


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


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


     The spawn-sigignore attribute represents the set of  signals
     to  be  forced  to  be  ignored in the new process image (if
     POSIXSPAWNSETSIGIGNP is set in  the  spawn-flags  attri-
     bute) by a spawn operation. The default value of this attri-
     bute is an empty signal set.

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


     Upon                 successful                  completion,
     posixspawnattrsetsigignorenp()  returns 0.  Otherwise, an
     error value is returned to indicate the error.

ERORS
     These functions may fail if:





SunOS 5.11          Last change: 28 Oct 2008                    1






Standard C Library Functions  posixspawnattrgetsigignorenp(3C)



     EINVAL    The value specified by attr is invalid.



     The posixspawnattrsetsigignorenp() 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          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     posixspawn(3C),                posixspawnattrdestroy(3C),
     posixspawnattrgetflags(3C), posixspawnattrgetpgroup(3C),
     posixspawnattrgetschedparam(3C),
     posixspawnattrgetschedpolicy(3C),
     posixspawnattrsetsigdefault(3C),
     posixspawnattrsetsigmask(3C), attributes(5)

NOTES
     The     POSIXSPAWNSETSIGIGNP      flag      and      the
     posixspawnattrgetsigignorenp()                        and
     posixspawnattrsetsigignorenp() functions are non-portable
     Solaris extensions to the posixspawn(3C) and posixspawnp()
     interfaces.

















SunOS 5.11          Last change: 28 Oct 2008                    2



OpenSolaris man pages main menu

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