sig.h
来自「linux下获取一些环境信息的代码」· C头文件 代码 · 共 31 行
H
31 行
#ifndef PROC_SIG_H#define PROC_SIG_H/* * Copyright 1998-2003 by Albert Cahalan; all rights resered. * This file may be used subject to the terms and conditions of the * GNU Library General Public License Version 2, or any later version * at your option, as published by the Free Software Foundation. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. */#include "procps.h"EXTERN_C_BEGIN/* return -1 on failure */extern int signal_name_to_number(const char *restrict name);extern const char *signal_number_to_name(int signo);extern int print_given_signals(int argc, const char *restrict const *restrict argv, int max_line);extern void pretty_print_signals(void);extern void unix_print_signals(void);EXTERN_C_END#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?