sync.2

来自「minix操作系统最新版本(3.1.1)的源代码」· 2 代码 · 共 33 行

2
33
字号
.\" Copyright (c) 1980 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)sync.2	6.2 (Berkeley) 6/30/85.\".TH SYNC 2 "June 30, 1985".UC 4.SH NAMEsync, fsync \- update dirty buffers and super-block.SH SYNOPSIS.nf.ft B#include <unistd.h>int sync(void)int fsync(fd).ft R.fi.SH DESCRIPTION.B Synccauses all information in the file systembuffers that should be on disk to be written out.This includes modified super blocks,modified i-nodes, and delayed block I/O..BFsyncdoes the same thing, but only for the blocks associated with a specificfile descriptor. Under minix, currently the two calls do the same thing..SH "SEE ALSO".BR reboot (2),.BR sync (8).

⌨️ 快捷键说明

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