Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 225 for _C_int (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    package unix
    
    const (
    	SizeofPtr      = 0x4
    	SizeofShort    = 0x2
    	SizeofInt      = 0x4
    	SizeofLong     = 0x4
    	SizeofLongLong = 0x8
    	PathMax        = 0x3ff
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int32
    	_C_long_long int64
    )
    
    type off64 int64
    type off int32
    type Mode_t uint32
    
    type Timespec struct {
    	Sec  int32
    	Nsec int32
    }
    
    type Timeval struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_openbsd_libc.go

    }
    
    //sys	readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_read
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_lseek
    //sys	getcwd(buf []byte) (n int, err error)
    //sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error)
    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    //sysnb exit(res int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/syscall/types_dragonfly.go

    	sizeofShort    = C.sizeof_short
    	sizeofInt      = C.sizeof_int
    	sizeofLong     = C.sizeof_long
    	sizeofLongLong = C.sizeof_longlong
    )
    
    // Basic types
    
    type (
    	_C_short     C.short
    	_C_int       C.int
    	_C_long      C.long
    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    // Processes
    
    type Rusage C.struct_rusage
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  4. src/syscall/types_netbsd.go

    	sizeofShort    = C.sizeof_short
    	sizeofInt      = C.sizeof_int
    	sizeofLong     = C.sizeof_long
    	sizeofLongLong = C.sizeof_longlong
    )
    
    // Basic types
    
    type (
    	_C_short     C.short
    	_C_int       C.int
    	_C_long      C.long
    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    // Processes
    
    type Rusage C.struct_rusage
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  5. src/syscall/ztypes_netbsd_386.go

    //go:build 386 && netbsd
    
    package syscall
    
    const (
    	sizeofPtr      = 0x4
    	sizeofShort    = 0x2
    	sizeofInt      = 0x4
    	sizeofLong     = 0x4
    	sizeofLongLong = 0x8
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int32
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int32
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int32
    }
    
    type Rusage struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. src/syscall/ztypes_netbsd_amd64.go

    //go:build amd64 && netbsd
    
    package syscall
    
    const (
    	sizeofPtr      = 0x8
    	sizeofShort    = 0x2
    	sizeofInt      = 0x4
    	sizeofLong     = 0x8
    	sizeofLongLong = 0x8
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int64
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec       int64
    	Usec      int32
    	Pad_cgo_0 [4]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go

    }
    
    var libc_getcwd_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
    	syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
    	return
    }
    
    var libc_getresuid_trampoline_addr uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    }
    
    //sysnb	pipe(p *[2]_C_int) (n int, err error)
    
    func Pipe(p []int) (err error) {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var pp [2]_C_int
    	n, err := pipe(&pp)
    	if n != 0 {
    		return err
    	}
    	if err == nil {
    		p[0] = int(pp[0])
    		p[1] = int(pp[1])
    	}
    	return nil
    }
    
    //sysnb	pipe2(p *[2]_C_int, flags int) (err error)
    
    func Pipe2(p []int, flags int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

    }
    
    var libc_getcwd_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
    	syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
    	return
    }
    
    var libc_getresuid_trampoline_addr uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go

    }
    
    var libc_getcwd_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
    	syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
    	return
    }
    
    var libc_getresuid_trampoline_addr uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
Back to top