home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / unixlib / !UnixLib / src / unix / c / sync < prev    next >
Encoding:
Text File  |  1994-09-30  |  315 b   |  24 lines

  1. static char sccs_id[] = "@(#) sync.c 1.2 " __DATE__ " HJR";
  2.  
  3. /* sync.c (c) Copyright 1990 H.Rogers */
  4.  
  5. #include <errno.h>
  6.  
  7. #include "sys/unix.h"
  8. #include "sys/os.h"
  9.  
  10. int
  11. sync (void)
  12. {
  13.   int r[3];
  14.   os_error *e;
  15.  
  16.   if (e = os_args (0xff, 0, 0, r))
  17.     {
  18.       __seterr (e);
  19.       return (-1);
  20.     }
  21.  
  22.   return (0);
  23. }
  24.