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

📄 misc.c

📁 It s a tool designed to extract as much information as possible from Bluetooth devices without the r
💻 C
字号:
#include "config.h"#include <stdio.h>#include <stdlib.h>#include "grab-ng.h"#include "misc.h"/* ------------------------------------------------------------------------ *//* prehistoric libc ;)                                                      */#ifndef HAVE_STRCASESTRchar* __used strcasestr(char *haystack, char *needle){    int hlen = strlen(haystack);    int nlen = strlen(needle);    int offset;    for (offset = 0; offset <= hlen - nlen; offset++)	if (0 == strncasecmp(haystack+offset,needle,nlen))	    return haystack+offset;    return NULL;}#endif#ifndef HAVE_MEMMEMvoid __used *memmem(unsigned char *haystack, size_t haystacklen,		    unsigned char *needle, size_t needlelen){    int i;    for (i = 0; i < haystacklen - needlelen; i++)	if (0 == memcmp(haystack+i,needle,needlelen))	    return haystack+i;    return NULL;}#endif

⌨️ 快捷键说明

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