...
Wiki Markup |
---|
The following table from the the Open Group Base Specifications \[[Open Group 04|AA. C References#Open Group 04]\], defines a set of functions that are asynchronous—signal-safe. Applications may invoke these functions, without restriction, from signal-catching functions. |
*Asynchronous—signal-safe functions8functions
_Exit() | _exit() | abort() | accept() |
access() | aio_error() | aio_return() | aio_suspend() |
alarm() | bind() | cfgetispeed() | cfgetospeed() |
cfsetispeed() | cfsetospeed() | chdir() | chmod() |
chown() | clock_gettime() | close() | connect() |
creat() | dup() | dup2() | execle() |
execve() | fchmod() | fchown() | fcntl() |
fdatasync() | fork() | fpathconf() | fstat() |
fsync() | ftruncate() | getegid() | geteuid() |
getgid() | getgroups() | getpeername() | getpgrp() |
getpid() | getppid() | getsockname() | getsockopt() |
getuid() | kill() | link() | listen() |
lseek() | lstat() | mkdir() | mkfifo() |
open() | pathconf() | pause() | pipe() |
poll() | posix_trace_event() | pselect() | raise() |
read() | readlink() | recv() | recvfrom() |
recvmsg() | rename() | rmdir() | select() |
sem_post() | send() | sendmsg() | sendto() |
setgid() | setpgid() | setsid() | setsockopt() |
setuid() | shutdown() | sigaction() | sigaddset() |
sigdelset() | sigemptyset() | sigfillset() | sigismember() |
sleep() | signal() | sigpause() | sigpending() |
sigprocmask() | sigqueue() | sigset() | sigsuspend() |
sockatmark() | socket() | socketpair() | stat() |
symlink() | sysconf() | tcdrain() | tcflow() |
tcflush() | tcgetattr() | tcgetpgrp() | tcsendbreak() |
tcsetattr() | tcsetpgrp() | time() | timer_getoverrun() |
timer_gettime() | timer_settime() | times() | umask() |
uname() | unlink() | utime() | wait() |
waitpid() | write() | | |
...