15 lines
318 B
Go
15 lines
318 B
Go
// Copyright 2016 the Go-FUSE Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package fuse
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func writev(fd int, packet [][]byte) (n int, err error) {
|
|
n, err = unix.Writev(fd, packet)
|
|
return
|
|
}
|