View definition

func ByteSliceFromString

Defined in github.com/golang/go/src/syscall/syscall.go

Description

ByteSliceFromString returns a NUL-terminated slice of bytes containing the text of s. If s contains a NUL byte at any location, it returns (nil, EINVAL).

ByteSliceFromString is referenced in 2 repositories

github.com/golang/go github.com/rocky/go-fish