?? misc.h
字號:
#ifndef _MISC_H_#define _MISC_H_/* Copy one word once and then copy one byte once. */#define MEMCPY_PLUS_PLUS(dest, src, n) \({ \ void *__end = (char *)(dest) + (n); \ while ((long *)(dest) + 1 <= (long *)__end) \ *((long *)(dest))++ = *((long *)(src))++; \ while ((char *)(dest) + 1 <= (char *)__end) \ *((char *)(dest))++ = *((char *)(src))++; \ dest; \})#define MEMCPY_PLUS(dest, src, n) \({ \ const void *__src = (src); \ MEMCPY_PLUS_PLUS(dest, __src, n); \})#define FREE_NOT_NULL(ptr) \do { \ if (ptr) free(ptr); \} while (0)#define MIN(x, y) ((x) < (y) ? (x) : (y))#define MAX(x, y) ((x) > (y) ? (x) : (y))#ifdef __cplusplusextern "C"{#endifchar *strdupn(const char *string, unsigned int len);#ifdef __cplusplus}#endif#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -