Example #1
0
func getMinimumTransferSize(file File) int64 {
	rv := C.fpathconf((C.int)(file.Fd()), C._PC_REC_MIN_XFER_SIZE)
	return int64(rv)
}
Example #2
0
func getRecommendedTransferAlignment(file File) int64 {
	rv := C.fpathconf((C.int)(file.Fd()), C._PC_REC_XFER_ALIGN)
	return int64(rv)
}