MCPcopy
hub / github.com/cilium/ebpf / BytePtrFromString

Function BytePtrFromString

internal/unix/strings_other.go:5–7  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

3package unix
4
5func BytePtrFromString(s string) (*byte, error) {
6 return nil, errNonLinux()
7}
8
9func ByteSliceToString(s []byte) string {
10 return ""

Callers 1

unsafeStringPtrFunction · 0.92

Calls 1

errNonLinuxFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…