⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 signals.h

📁 UNIX、linux密码的破密程序源代码实现
💻 H
字号:
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-2001 by Solar Designer *//* * Signal handling. */#ifndef _JOHN_SIGNALS_H#define _JOHN_SIGNALS_H#include "arch.h"/* * Event flags. * * Why aren't these put into a bitmask? The reason is that it's not possible * to clear individual flags in a bitmask without a race condition on RISC, * or having to block the signals. */extern volatile int event_pending;	/* An event is pending */extern volatile int event_abort;	/* Abort requested */extern volatile int event_save;		/* Save the crash recovery file */extern volatile int event_status;	/* Status display requested */#if !OS_TIMER/* * Timer emulation for systems with no setitimer(2). */#include <sys/times.h>extern void sig_timer_emu_init(clock_t interval);extern void sig_timer_emu_tick(void);#endif/* * Installs the signal handlers. */extern void sig_init(void);/* * Terminates the process if event_abort is set. */extern void check_abort(int be_async_signal_safe);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -