SYNC.2
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- ." 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 NAME
- sync - update super-block
- .SH SYNOPSIS
- .nf
- .ft B
- #include <unistd.h>
- int sync(void)
- .ft R
- .fi
- .SH DESCRIPTION
- .B Sync
- causes all information in the file system
- buffers that should be on disk to be written out.
- This includes modified super blocks,
- modified i-nodes, and delayed block I/O.
- .SH "SEE ALSO"
- .BR sync (8),
- .BR update (8).