Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mygetgrnam_r (0.11 sec)

  1. src/os/user/user.go

    resolving user and group ids to names, and listing supplementary group IDs.
    One is written in pure Go and parses /etc/passwd and /etc/group. The other
    is cgo-based and relies on the standard C library (libc) routines such as
    getpwuid_r, getgrnam_r, and getgrouplist.
    
    When cgo is available, and the required routines are implemented in libc
    for a particular platform, cgo-based (libc-backed) code is used.
    This can be overridden by using osusergo build tag, which enforces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top