1 // Copyright 2014 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.
12 // Declarations for the libc functions on Solaris.
14 //extern __posix_getpwnam_r
15 func libc_getpwnam_r(name
*byte, pwd
*syscall
.Passwd
, buf
*byte, buflen syscall
.Size_t
, result
**syscall
.Passwd
) int
17 //extern __posix_getpwuid_r
18 func libc_getpwuid_r(uid syscall
.Uid_t
, pwd
*syscall
.Passwd
, buf
*byte, buflen syscall
.Size_t
, result
**syscall
.Passwd
) int