syscall_unix.go 219 B

1234567891011
  1. // +build linux freebsd
  2. package system
  3. import "syscall"
  4. // UnmountWithSyscall is a platform-specific helper function to call
  5. // the unmount syscall.
  6. func UnmountWithSyscall(dest string) {
  7. syscall.Unmount(dest, 0)
  8. }