Manual Pages for UNIX Darwin command on man posix_spawnattr_setsigdefault
MyWebUniversity

Manual Pages for UNIX Darwin command on man posix_spawnattr_setsigdefault

POSIXSPAWNATTRSETSI... BSD Library Functions Manual POSIXSPAWNATTRSETSI...

NAME

ppoossiixxssppaawwnnaattttrrsseettssiiggddeeffaauulltt ppoossiixxssppaawwnnaattttrrggeettssiiggddeeffaauulltt - set or get

the spawn-sigdefault attribute on a posixspawnattrt

SYNOPSIS

##iinncclluuddee <>

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

DESCRIPTION

The ppoossiixxssppaawwnnaattttrrsseettssiiggddeeffaauulltt() function sets the sigdefault on the attributes object referenced by attr. The ppoossiixxssppaawwnnaattttrrggeettssiiggddeeffaauulltt() function retrieves the sigdefault on the attributes object referenced by attr. The argument sigdefault is the set of signals to be returned to default behaviour in the new process on creation if the POSIXSPAWNSETSIGDEF flag is set in the posixspawnattrt. It's default value must be set via a call to posixspawnattrsetflags(3) or the behaviour is undefined.

RETURN VALUES

On success, these functions return 0; on failure they return an error number from . Additionally, if successful, ppoossiixxssppaawwnnaattttrrggeettssiiggddeeffaauulltt() will modify the contents of the sigdefault parameter with the current attribute value. EERRRROORRSS These functions may fail if: [EINVAL] The value specified by attr is invalid. [EINVAL] The value of attr is invalid.

SEE ALSO

posixspawn(2), posixspawnp(2), posixspawnattrinit(3), posixspawnattrdestroy(3), posixspawnattrsetflags(3) STANDARDS Version 3 of the Single UNIX Specification (``SUSv3'') [SPN] HISTORY The ppoossiixxssppaawwnnaattttrrsseettssiiggddeeffaauulltt() and ppoossiixxssppaawwnnaattttrrggeettssiiggddeeffaauulltt() function calls appeared in Version 3 of the Single UNIX Specification (``SUSv3'') [SPN]. Mac OS X August 22, 2007 Mac OS X




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