Back to index

glibc  2.9
fsync.c File Reference
#include <errno.h>
#include <unistd.h>
#include <hurd.h>
#include <hurd/fd.h>

Go to the source code of this file.


int fsync (int fd)

Function Documentation

int fsync ( int  fd)

Definition at line 26 of file fsync.c.

  error_t err = HURD_DPORT_USE (fd, __file_sync (port, 1, 0));
  if (err)
    return __hurd_dfail (fd, err);
  return 0;

Here is the call graph for this function: