How to create C array of string using cgo

I have one C function
int cgroup_change_cgroup_path(const char * path, pid_t pid, const char *const controllers[])
I want to call it using go language using cgo.
How to pass third parameter as it accepts C array of string.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.