home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / cnews.tar / relay / caches.c < prev    next >
C/C++ Source or Header  |  1990-03-30  |  247b  |  17 lines

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