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

📄 secbuf.h

📁 文件传输协议linux 下vsftpd2.1.0.tar.gz
💻 H
字号:
#ifndef VSF_SECBUF_H#define VSF_SECBUF_H/* vsf_secbuf_alloc() * PURPOSE * Allocate a "secure buffer". A secure buffer is one which will attempt to * catch out of bounds accesses by crashing the program (rather than * corrupting memory). It works by using UNIX memory protection. It isn't * foolproof. * PARAMETERS * p_ptr        - pointer to a pointer which is to contain the secure buffer. *                Any previous buffer pointed to is freed. * size         - size in bytes required for the secure buffer. */void vsf_secbuf_alloc(char** p_ptr, unsigned int size);/* vsf_secbuf_free() * PURPOSE * Frees a "secure buffer". * PARAMETERS * p_ptr        - pointer to a pointer containing the buffer to be freed. The *                buffer pointer is nullified by this call. */void vsf_secbuf_free(char** p_ptr);#endif /* VSF_SECBUF_H */

⌨️ 快捷键说明

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