Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 377 for syscall3 (0.22 sec)

  1. src/runtime/syscall_aix.go

    	_, err = syscall1(&libc_setuid, uid)
    	return
    }
    
    //go:linkname syscall_setpgid syscall.setpgid
    //go:nosplit
    func syscall_setpgid(pid, pgid uintptr) (err uintptr) {
    	_, err = syscall2(&libc_setpgid, pid, pgid)
    	return
    }
    
    //go:linkname syscall_write1 syscall.write1
    //go:nosplit
    func syscall_write1(fd, buf, nbyte uintptr) (n, err uintptr) {
    	n, err = syscall3(&libc_write, fd, buf, nbyte)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/netpoll_aix.go

    //go:cgo_import_dynamic libc_poll poll "libc.a/shr_64.o"
    //go:linkname libc_poll libc_poll
    
    var libc_poll libFunc
    
    //go:nosplit
    func poll(pfds *pollfd, npfds uintptr, timeout uintptr) (int32, int32) {
    	r, err := syscall3(&libc_poll, uintptr(unsafe.Pointer(pfds)), npfds, timeout)
    	return int32(r), int32(err)
    }
    
    // pollfd represents the poll structure for AIX operating system.
    type pollfd struct {
    	fd      int32
    	events  int16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/runtime/os_aix.go

    	throw("runPerThreadSyscall only valid on linux")
    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    		print("geteuid failed ", errno)
    		throw("geteuid")
    	}
    	return int32(r)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/syscall/syscall_openbsd_libc.go

    }
    
    // Implemented in the runtime package (runtime/sys_openbsd3.go)
    func syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscallX(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s

    #include "textflag.h"
    
    //
    // System calls for mips, Linux
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-28
    	JMP syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	JMP syscall·Syscall6(SB)
    
    TEXT ·Syscall9(SB),NOSPLIT,$0-52
    	JMP syscall·Syscall9(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/registry/syscall.go

    //go:build windows
    
    package registry
    
    import "syscall"
    
    const (
    	_REG_OPTION_NON_VOLATILE = 0
    
    	_REG_CREATED_NEW_KEY     = 1
    	_REG_OPENED_EXISTING_KEY = 2
    
    	_ERROR_NO_MORE_ITEMS syscall.Errno = 259
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s

    #include "textflag.h"
    
    //
    // System call support for mips64, OpenBSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 677 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s

    #include "textflag.h"
    
    //
    // System call support for ppc64, BSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 716 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/syscall.go

    // holds a value of type syscall.Errno.
    package windows // import "golang.org/x/sys/windows"
    
    import (
    	"bytes"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    // ByteSliceFromString returns a NUL-terminated slice of bytes
    // containing the text of s. If s contains a NUL byte at any
    // location, it returns (nil, syscall.EINVAL).
    func ByteSliceFromString(s string) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/syscall/syscall.go

    // license that can be found in the LICENSE file.
    
    // Package syscall contains an interface to the low-level operating system
    // primitives. The details vary depending on the underlying system, and
    // by default, godoc will display the syscall documentation for the current
    // system. If you want godoc to display syscall documentation for another
    // system, set $GOOS and $GOARCH to the desired system. For example, if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top