- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for osusergo (0.12 sec)
-
src/os/user/cgo_lookup_cgo.go
// Copyright 2011 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. //go:build cgo && !osusergo && unix && !android && !darwin package user import ( "syscall" ) /* #cgo solaris CFLAGS: -D_POSIX_PTHREAD_SEMANTICS #cgo CFLAGS: -fno-stack-protector #include <unistd.h> #include <sys/types.h> #include <pwd.h> #include <grp.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 16 17:45:51 UTC 2022 - 3.4K bytes - Viewed (0) -
src/os/user/cgo_lookup_unix.go
// Copyright 2011 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. //go:build (cgo || darwin) && !osusergo && unix && !android package user import ( "fmt" "runtime" "strconv" "strings" "syscall" "unsafe" ) func current() (*User, error) { return lookupUnixUid(syscall.Getuid()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:08:14 UTC 2024 - 5.2K bytes - Viewed (0) -
src/os/user/lookup_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ((unix && !android) || (js && wasm) || wasip1) && ((!cgo && !darwin) || osusergo) package user import ( "bufio" "bytes" "errors" "io" "os" "strconv" "strings" ) // lineFunc returns a value, an error, or (nil, nil) to skip the row.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/dist/test.go
} if t.race { return } // Test the os/user package in the pure-Go mode too. if !t.compileOnly { t.registerTest("os/user with tag osusergo", &goTest{ variant: "osusergo", timeout: 300 * time.Second, tags: []string{"osusergo"}, pkg: "os/user", }) t.registerTest("hash/maphash purego implementation", &goTest{ variant: "purego",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0)