Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(42)

Side by Side Diff: src/pkg/os/executable_plan9.go

Issue 6736069: code review 6736069: runtime, syscall, os: add os.ExecPath() (string, error)
Patch Set: diff -r 617db9efbdf1 https://code.google.com/p/go/ Created 11 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/os/executable_freebsd.go ('k') | src/pkg/os/executable_procfs.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build plan9
6
7 package os
8
9 func executable() (string, error) {
10 return "/proc/" + itoa(Getpid()) + "/text", nil
11 }
OLDNEW
« no previous file with comments | « src/pkg/os/executable_freebsd.go ('k') | src/pkg/os/executable_procfs.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b