Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

FSYNC

Section: Systemaufrufe (2)
Updated: 29. März 1996
Index Return to Main Contents
 

BEZEICHNUNG

fsync - synchronisiert den Dateiinhalt mit der Platte  

SYNTAX

#include <unistd.h>

int fsync(int fd);  

BESCHREIBUNG

fsync kopiert alle Kernteile einer Datei auf die Platte (Festplatt oder Diskette).  

RÜCKGABEWERT

Bei Erfolg wird Null zurückgegeben, bei Fehlern -1 und errno wird entsprechend gesetzt.  

FEHLER

EBADF
fd ist kein gültiger offener Dateideskriptor.
EROFS, EINVAL
fd ist mit einer Spezialdatei verbunden, die keine Synchronisation unterstützt.
EIO
Während der Synchronisation ist ein Fehler aufgetreten.
 

SIEHE AUCH

bdflush(2), fsync(2), update(8), sync(8).


 

Index

BEZEICHNUNG
SYNTAX
BESCHREIBUNG
RÜCKGABEWERT
FEHLER
SIEHE AUCH

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man2". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.