Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for Pid_t (0.04 sec)

  1. src/runtime/cgo/linux_syscall.c

    }
    
    void
    _cgo_libc_setresgid(argset_t* x) {
    	SET_RETVAL(setresgid((gid_t) x->args[0], (gid_t) x->args[1],
    			     (gid_t) x->args[2]));
    }
    
    void
    _cgo_libc_setresuid(argset_t* x) {
    	SET_RETVAL(setresuid((uid_t) x->args[0], (uid_t) x->args[1],
    			     (uid_t) x->args[2]));
    }
    
    void
    _cgo_libc_setreuid(argset_t* x) {
    	SET_RETVAL(setreuid((uid_t) x->args[0], (uid_t) x->args[1]));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/user_darwin.go

    )
    
    type Passwd struct {
    	Name   *byte
    	Passwd *byte
    	Uid    uint32 // uid_t
    	Gid    uint32 // gid_t
    	Change int64  // time_t
    	Class  *byte
    	Gecos  *byte
    	Dir    *byte
    	Shell  *byte
    	Expire int64 // time_t
    }
    
    type Group struct {
    	Name   *byte
    	Passwd *byte
    	Gid    uint32 // gid_t
    	Mem    **byte
    }
    
    //go:cgo_import_dynamic libc_getpwnam_r getpwnam_r  "/usr/lib/libSystem.B.dylib"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. src/os/user/cgo_lookup_cgo.go

    	*perr = getgrnam_r(name, &grp, buf, buflen, &result);
    	*found = result != NULL;
    	return grp;
    }
    */
    import "C"
    
    type _C_char = C.char
    type _C_int = C.int
    type _C_gid_t = C.gid_t
    type _C_uid_t = C.uid_t
    type _C_size_t = C.size_t
    type _C_struct_group = C.struct_group
    type _C_struct_passwd = C.struct_passwd
    type _C_long = C.long
    
    func _C_pw_uid(p *_C_struct_passwd) _C_uid_t   { return p.pw_uid }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 16 17:45:51 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. src/os/user/getgrouplist_unix.go

    package user
    
    /*
    #include <unistd.h>
    #include <sys/types.h>
    #include <grp.h>
    
    static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) {
    	return getgrouplist(user, group, groups, ngroups);
    }
    */
    import "C"
    
    func getGroupList(name *_C_char, userGID _C_gid_t, gids *_C_gid_t, n *_C_int) _C_int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 657 bytes
    - Viewed (0)
  5. src/syscall/types_darwin.go

    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    type Timeval32 C.struct_timeval32
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Stat_t C.struct_stat64
    
    type Statfs_t C.struct_statfs64
    
    type Flock_t C.struct_flock
    
    type Fstore_t C.struct_fstore
    
    type Radvisory_t C.struct_radvisory
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  6. src/syscall/types_openbsd.go

    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    const ( // Directory mode bits
    	S_IFMT   = C.S_IFMT
    	S_IFIFO  = C.S_IFIFO
    	S_IFCHR  = C.S_IFCHR
    	S_IFDIR  = C.S_IFDIR
    	S_IFBLK  = C.S_IFBLK
    	S_IFREG  = C.S_IFREG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  7. src/syscall/types_dragonfly.go

    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    const ( // Directory mode bits
    	S_IFMT   = C.S_IFMT
    	S_IFIFO  = C.S_IFIFO
    	S_IFCHR  = C.S_IFCHR
    	S_IFDIR  = C.S_IFDIR
    	S_IFBLK  = C.S_IFBLK
    	S_IFREG  = C.S_IFREG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  8. src/syscall/types_netbsd.go

    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    type Fsid C.fsid_t
    
    // File system limits
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  9. src/syscall/types_freebsd.go

    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    const ( // Directory mode bits
    	S_IFMT   = C.S_IFMT
    	S_IFIFO  = C.S_IFIFO
    	S_IFCHR  = C.S_IFCHR
    	S_IFDIR  = C.S_IFDIR
    	S_IFBLK  = C.S_IFBLK
    	S_IFREG  = C.S_IFREG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  10. src/syscall/types_linux.go

    type Time_t C.time_t
    
    type Tms C.struct_tms
    
    type Utimbuf C.struct_utimbuf
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Stat_t C.struct_stat
    
    type statxTimestamp C.struct_statx_timestamp
    
    type statx_t C.struct_statx
    
    type Statfs_t C.struct_statfs
    
    type Dirent C.struct_dirent
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 26 20:15:45 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top