filestr.h
来自「文件传输协议linux 下vsftpd2.1.0.tar.gz」· C头文件 代码 · 共 27 行
H
27 行
#ifndef VSF_FILESTR_H#define VSF_FILESTR_H/* Forward declares */struct mystr;/* str_fileread() * PURPOSE * Read the contents of a file into a string buffer, up to a size limit of * "maxsize" * PARAMETERS * p_str - destination buffer object to contain the file * p_filename - the filename to try and read into the buffer * maxsize - the maximum amount of buffer we will fill. Larger files will * be truncated. * RETURNS * An integer representing the success/failure of opening the file * "p_filename". Zero indicates success. If successful, the file is read into * the "p_str" string object. If not successful, "p_str" will point to an * empty buffer. */int str_fileread(struct mystr* p_str, const char* p_filename, unsigned int maxsize);#endif /* VSF_FILESTR_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?