fix(lib/signal): fix typo

This commit is contained in:
ppd0705
2021-10-14 23:41:32 +08:00
parent d80edbe5d1
commit d3071e471c

View File

@@ -55,7 +55,7 @@ signal(SIGINT, orig_handler);
SIG_DFL 表示默认的处理函数。
```c
signal(SIGINT, SIG_IGN);
signal(SIGINT, SIG_DFL);
```
上面示例中SIGINT 的处理函数是默认处理函数,由当前实现决定。