fsync
同步文件变更(包括元数据)
&reftitle.description;
boolfsync
resourcestream
此函数同步文件变更,包括元数据。与 fflush 类似,但同时还让操作系统将变更写入到存储介质。
&reftitle.parameters;
stream
&fs.validfp.all;
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
fsync 示例
]]>
&reftitle.seealso;
fdatasync
fflush