?? times.h
字號:
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-98 by Solar Designer *//* * Workaround a DJGPP time functions problem which could cause the system * date not to advance at midnight when a BIOS time query function resets * the overflow flag before DOS has a chance to see it. Note that there's * still a race condition in the code below, it's just far less likely to * cause any harm. The real fix would be more complicated... */#if !defined(_JOHN_TIMES_H) && defined(__DJGPP__)#define _JOHN_TIMES_H#include <sys/times.h>#include <dpmi.h>static inline clock_t safe_times(struct tms *buffer){ __dpmi_regs r; r.h.ah = 0x2C; __dpmi_int(0x21, &r); return times(buffer);}#define times safe_times#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -