svn commit: r251197 - head/lib/libc/sys
Jilles Tjoelker
jilles at stack.nl
Sun Jun 2 21:22:26 UTC 2013
On Sat, Jun 01, 2013 at 01:31:10AM +0200, Pawel Jakub Dawidek wrote:
> On Fri, May 31, 2013 at 09:31:38PM +0000, Jilles Tjoelker wrote:
> > Author: jilles
> > Date: Fri May 31 21:31:38 2013
> > New Revision: 251197
> > URL: http://svnweb.freebsd.org/changeset/base/251197
> > Log:
> > sigaction(2): *at system calls are async-signal safe.
> Isn't chflags(2) family safe as well?
There are many more non-POSIX functions that are async-signal safe. For
example:
* bindat()/connectat() (like bind()/connect())
* eaccess() (like faccessat())
* pipe2() (like pipe())
* accept4() (like accept())
* wait4() (like waitpid())
* futimesat() (like utimes())
* strsep() (like strtok_r())
We may not want to document them all as async-signal safe because it may
be necessary later to implement some as async-signal unsafe library
functions. However, it would be useful to document some of them as
async-signal safe.
--
Jilles Tjoelker
More information about the svn-src-all
mailing list