Source File
getgrouplist_darwin.go
Belonging Package
os/user
package user
import _
import (
)
func getGroupList(name * /*line :33:25*/_Ctype_char /*line :33:31*/, userGID /*line :33:41*/_Ctype_gid_t /*line :33:48*/, gids * /*line :33:56*/_Ctype_gid_t /*line :33:63*/, n * /*line :33:68*/_Ctype_int /*line :33:73*/) /*line :33:75*/_Ctype_int /*line :33:80*/ {
return ( /*line :34:9*/_Cfunc_mygetgrouplist /*line :34:24*/)(name, userGID, gids, n)
}
func groupRetry(username string, name []byte, userGID /*line :39:55*/_Ctype_gid_t /*line :39:62*/, gids *[] /*line :39:72*/_Ctype_gid_t /*line :39:79*/, n * /*line :39:84*/_Ctype_int /*line :39:89*/) error {
*n = /*line :40:7*/_Ctype_int /*line :40:12*/(256 * 2)
for {
*gids = make([] /*line :42:18*/_Ctype_gid_t /*line :42:25*/, *n)
rv := getGroupList((* /*line :43:24*/_Ctype_char /*line :43:30*/)(unsafe.Pointer(&name[0])), userGID, &(*gids)[0], n)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |