📄 util.h
字号:
/* @(#)util.h 1.1 92/07/30 (C) 1985 Sun Microsystems, Inc. */#define EOS '\0'#ifndef NULL # define NULL ((char *) 0)#endif#define MALLOC(object_type) ((object_type *) malloc(sizeof(object_type)))#define FREE(ptr) free((char *) ptr) #define STRCPY(dst,src) \ (dst = malloc((unsigned)strlen(src)+1), (void) strcpy(dst,src))#define STRNCPY(dst,src,num) \ (dst = malloc((unsigned)(num) + 1),\ (void)strncpy(dst,src,num),(dst)[num] = EOS) extern char *malloc();extern char *alloca();char *getline();void fatal();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -