FAQ

minux.ma@gmail.com once said:
On 2012/10/26 16:36:37, r wrote:
is your name minuxName?
good point. PTAL.

btw, how to implement this on Plan 9?
func executable() (string, error) {
f, err := Open("/proc/" + itoa(Getpid()) + "/text")
if err != nil {
return "", err
}
defer f.Close()
return syscall.Fd2path(int(f.Fd()))
}

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 32 of 58 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 23, '12 at 7:04p
activeNov 6, '12 at 7:35p
posts58
users10
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase