file-sync.lisp 381 B

12345678910111213141516
  1. (in-package :hurd-translator)
  2. (def-fs-interface :file-sync ((port port)
  3. (wait :boolean)
  4. (omit-meta :boolean))
  5. (with-lookup protid port
  6. (if (sync-file *translator*
  7. (get-node protid)
  8. (get-user protid)
  9. wait
  10. omit-meta)
  11. t
  12. nil)))