home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 1 / GoldFishApril1994_CD2.img / d4xx / d473 / cnewssrc / cnews_src.lzh / relay / caches.c < prev    next >
C/C++ Source or Header  |  1990-05-28  |  296b  |  21 lines

  1. /* :ts=4
  2.  * cache control
  3.  *
  4.  *    $Log$
  5.  */
  6.  
  7. #include <stdio.h>
  8. #ifdef unix
  9. # include <sys/types.h>
  10. #endif /* unix */
  11. #include "news.h"
  12. #include "active.h"
  13. #include "caches.h"
  14. #include "transmit.h"
  15.  
  16. statust
  17. synccaches()            /* force dirty in-core caches to disk */
  18. {
  19.     return actsync() | trclose();
  20. }
  21.