Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 207 for syscall3 (0.1 sec)

  1. src/internal/syscall/unix/tcsetpgrp_linux.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    // Note that pgid should really be pid_t, however _C_int (aka int32) is
    // generally equivalent.
    
    func Tcsetpgrp(fd int, pgid int32) (err error) {
    	_, _, errno := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(fd), uintptr(syscall.TIOCSPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
    	if errno != 0 {
    		return errno
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 537 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 988 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-syscall-steal-proc-self.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 464 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-syscall-steal-proc-ambiguous.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 589 bytes
    - Viewed (0)
  6. src/internal/syscall/unix/at_solaris.go

    package unix
    
    import "syscall"
    
    // Implemented as sysvicall6 in runtime/syscall_solaris.go.
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    // Implemented as rawsysvicall6 in runtime/syscall_solaris.go.
    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 814 bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-syscall-steal-proc-simple.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 535 bytes
    - Viewed (0)
  8. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 529 bytes
    - Viewed (0)
  10. src/os/exec_windows.go

    	switch status {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return syscall.EINVAL
    	}
    	defer p.handleTransientRelease()
    
    	if sig == Kill {
    		var terminationHandle syscall.Handle
    		e := syscall.DuplicateHandle(^syscall.Handle(0), syscall.Handle(handle), ^syscall.Handle(0), &terminationHandle, syscall.PROCESS_TERMINATE, false, 0)
    		if e != nil {
    			return NewSyscallError("DuplicateHandle", e)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top