Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(8)

df(1)

sync(2)



  sync(2)                             CLIX                             sync(2)



  NAME

    sync - Updates the superblock

  LIBRARY

    Standard C Library (libc.a)

  SYNOPSIS

    void sync(
      void );

  DESCRIPTION

    The sync() function causes all information in memory that should be on
    disk to be written out.  This includes modified superblocks, modified
    inodes, and delayed block I/O.

    This function should be used by programs which examine a file system, for
    example fsck, df, and so on.  It is mandatory before rebooting.

    The writing, although scheduled, is not necessarily complete upon return
    from sync().

  RETURN VALUES

    Return values are not valid.

  ERRORS

    This function never sets errno.

  RELATED INFORMATION

    Commands:  fsck(8), df(1)

    Functions:  sync(2)
















  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026