代码拉取完成,页面将自动刷新
#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 */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。