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

Delta Between Two Patch Sets: src/pkg/os/executable.go

Issue 6736069: code review 6736069: runtime, syscall, os: add os.ExecPath() (string, error)
Left Patch Set: diff -r 88c4bdf6cfb8 https://code.google.com/p/go/ Created 11 years, 5 months ago
Right 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:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | src/pkg/os/executable_darwin.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 package os
6
7 // Executable returns an absolute path that can be used to
8 // reinvoke the current program.
9 // It may not be valid after the current program exits.
10 func Executable() (string, error) {
11 return executable()
12 }
13
14 // BUG(minux): Executable uses procfs on Linux, Plan 9, NetBSD
15 // and OpenBSD. However on OpenBSD, procfs is not provided by
16 // default, so Executable might not work correctly on OpenBSD.
LEFTRIGHT

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