The manual Page
English version
[ accueil | glossaire | downloads | liens ]
   
dernière mise à jour le
12/02/2005
Boostez votre carrière avec lesjeudis.com
Valid HTML 4.0!
Valid CSS!
Hit-Parade
Mesurez votre audience


  fsync(2)
FSYNC(2)            Linux Programmer's Manual            FSYNC(2)

NAME
       fsync  -  synchronize a file's complete in-core state with
       that on disk

SYNOPSIS
       #include <unistd.h>

       int fsync(int fd);

DESCRIPTION
       fsync copies all in-core parts of a file to disk.

       In some applications, fdatasync is a more efficient alter-
       native to fsync.

RETURN VALUE
       On  success,  zero is returned.  On error, -1 is returned,
       and errno is set appropriately.

ERRORS
       EBADF   fd is not a valid file descriptor open  for  writ-
               ing.

       EROFS, EINVAL
               fd  is bound to a special file which does not sup-
               port synchronization.

       EIO     An error occurred during synchronization.

CONFORMING TO
       POSIX.1b (formerly POSIX.4)

SEE ALSO
       bdflush(2), fdatasync(2), sync(2), update(8), sync(8)

Linux 1.3.85                1994-04-13                          1

format imprimable format imprimable


   

Copyright © 2000-2005 themanualpage.org - Ce site est soumis aux conditions décrites dans les licences GNU GPL et FDL.