minux.ma@gmail.com once said:
btw, how to implement this on Plan 9?
On 2012/10/26 16:36:37, r wrote:
is your name minuxName?
good point. PTAL.is your name minuxName?
btw, how to implement this on Plan 9?
f, err := Open("/proc/" + itoa(Getpid()) + "/text")
if err != nil {
return "", err
}
defer f.Close()
return syscall.Fd2path(int(f.Fd()))
}