cache.c 466 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #include "u.h"
  2. #include "lib.h"
  3. #include "dat.h"
  4. #include "fns.h"
  5. #include "error.h"
  6. void
  7. cinit(void)
  8. {
  9. }
  10. void
  11. copen(Chan *c)
  12. {
  13. USED(c);
  14. }
  15. int
  16. cread(Chan *c, uchar *buf, int len, vlong off)
  17. {
  18. USED(c);
  19. USED(buf);
  20. USED(len);
  21. USED(off);
  22. return 0;
  23. }
  24. void
  25. cupdate(Chan *c, uchar *buf, int len, vlong off)
  26. {
  27. USED(c);
  28. USED(buf);
  29. USED(len);
  30. USED(off);
  31. }
  32. void
  33. cwrite(Chan* c, uchar *buf, int len, vlong off)
  34. {
  35. USED(c);
  36. USED(buf);
  37. USED(len);
  38. USED(off);
  39. }