Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <libc/stubs.h>
  3. #include <unistd.h>
  4.  
  5. int
  6. sync(void)
  7. {
  8.   int i;
  9.   /* Update files with handles 0 thru 254 (incl).  */
  10.   for (i = 0; i < 255; i++)
  11.     fsync (i);
  12.   return 0;
  13. }
  14.