summaryrefslogtreecommitdiff
path: root/src/pkg/os/sys_solaris.go
blob: 917e8f2b0d6660b08e0a69c0ca0c9c41fc442086 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package os

import "syscall"

func hostname() (name string, err error) {
	return syscall.Gethostname()
}