what's wrong to call a unsafe function like `printf` in a signal handler?

后端 未结 0 1619
清歌不尽
清歌不尽 2021-02-08 14:56

I\'m new to signal and signal handler and I was reading a book which says

Call only async-signal-safe functions in your handlers. A function that is async-si

相关标签:
回答
  • 消灭零回复
提交回复
热议问题