Skip to content
#

kernel

Here are 32 public repositories matching this topic...

gvisor
bemasc
bemasc commented May 19, 2021

The doc says

	// Unlike io.Writer.Write, Endpoint.Write transfers ownership of any bytes
	// successfully written to the Endpoint. That is, if a call to
	// Write(SlicePayload{data}) returns (n, err), it may retain data[:n], and
	// the caller should not use data[:n] after Write returns.

but the signature of Write has since changed. It no longer accepts a slice payload, so this

Improve this page

Add a description, image, and links to the kernel topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the kernel topic, visit your repo's landing page and select "manage topics."

Learn more