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

📄 t_stringoverflow.c

📁 samba-3.0.22.tar.gz 编译smb服务器的源码
💻 C
字号:
#include "includes.h" int main(void){	fstring dest;	char *ptr = dest;	printf("running on valgrind? %d\n", RUNNING_ON_VALGRIND);	/* Try copying a string into an fstring buffer.  The string	 * will actually fit, but this is still wrong because you	 * can't pstrcpy into an fstring.  This should trap in a	 * developer build. */#if 0	/* As of CVS 20030318, this will be trapped at compile time! */	pstrcpy(dest, "hello");#endif /* 0 */	pstrcpy(ptr, "hello!");	return 0;}

⌨️ 快捷键说明

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