We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75be30 commit 67bf217Copy full SHA for 67bf217
getargv.go
@@ -16,7 +16,7 @@ import "unsafe"
16
type (
17
Argv = C.struct_ArgvResult
18
ArgvArgc = C.struct_ArgvArgcResult
19
- ArgvOptions = C.struct_GetArgvOptions
+ argvOptions = C.struct_GetArgvOptions
20
pid_t = uint
21
)
22
@@ -26,7 +26,7 @@ func p2i(p *C.char) uintptr {
26
27
func getArgv(pid pid_t, skip uint, nuls bool) (*Argv, error) {
28
r := new(Argv)
29
- o := ArgvOptions{
+ o := argvOptions{
30
skip: C.uint(skip),
31
pid: C.pid_t(pid),
32
nuls: C.bool(nuls),
0 commit comments