You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Sysctl function in syscall_bsd.go strips a null byte at the end and returns a string. I would like to have a SysctlBytes function that returns the raw byte array.
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
syscall: add SysctlBytes to retrieve binary data on BSD
x/sys/unix: add SysctlBytes to retrieve binary data on BSD
Nov 25, 2016
The
Sysctl
function insyscall_bsd.go
strips a null byte at the end and returns a string. I would like to have aSysctlBytes
function that returns the raw byte array.The text was updated successfully, but these errors were encountered: