SYNC.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. ." Copyright (c) 1980 Regents of the University of California.
  2. ." All rights reserved.  The Berkeley software License Agreement
  3. ." specifies the terms and conditions for redistribution.
  4. ."
  5. ." @(#)sync.2 6.2 (Berkeley) 6/30/85
  6. ."
  7. .TH SYNC 2 "June 30, 1985"
  8. .UC 4
  9. .SH NAME
  10. sync - update super-block
  11. .SH SYNOPSIS
  12. .nf
  13. .ft B
  14. #include <unistd.h>
  15. int sync(void)
  16. .ft R
  17. .fi
  18. .SH DESCRIPTION
  19. .B Sync
  20. causes all information in the file system
  21. buffers that should be on disk to be written out.
  22. This includes modified super blocks,
  23. modified i-nodes, and delayed block I/O.
  24. .SH "SEE ALSO"
  25. .BR sync (8),
  26. .BR update (8).