- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 181 for syscall3 (0.12 sec)
-
src/os/os_windows_test.go
header windows.REPARSE_DATA_BUFFER_HEADER detail [syscall.MAXIMUM_REPARSE_DATA_BUFFER_SIZE]byte } func createDirLink(link string, rdb *_REPARSE_DATA_BUFFER) error { err := os.Mkdir(link, 0777) if err != nil { return err } linkp := syscall.StringToUTF16(link) fd, err := syscall.CreateFile(&linkp[0], syscall.GENERIC_WRITE, 0, nil, syscall.OPEN_EXISTING,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
src/os/path_windows.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os import ( "internal/filepathlite" "internal/syscall/windows" "syscall" ) const ( PathSeparator = '\\' // OS-specific path separator PathListSeparator = ';' // OS-specific path list separator )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0) -
src/syscall/syscall_aix.go
// Note that sometimes we use a lowercase //sys name and // wrap it in our own nicer implementation. package syscall import ( "unsafe" ) func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go
const ( SIGABRT = syscall.Signal(0x6) SIGALRM = syscall.Signal(0xe) SIGFPE = syscall.Signal(0x8) SIGHUP = syscall.Signal(0x1) SIGILL = syscall.Signal(0x4) SIGINT = syscall.Signal(0x2) SIGIOT = syscall.Signal(0x6) SIGKILL = syscall.Signal(0x9) SIGPIPE = syscall.Signal(0xd) SIGQUIT = syscall.Signal(0x3) SIGSEGV = syscall.Signal(0xb) SIGTERM = syscall.Signal(0xf) SIGTRAP = syscall.Signal(0x5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 185.8K bytes - Viewed (0) -
src/os/exec_unix_test.go
} p, err := FindProcess(pid) if err != nil { t.Fatalf("FindProcess(math.MaxInt32) got err %v, want nil", err) } if ps, err := p.Wait(); !errors.Is(err, syscall.ECHILD) { t.Errorf("Wait() got err %v (ps %+v), want %v", err, ps, syscall.ECHILD) } if err := p.Release(); err != nil { t.Errorf("Release() got err %v, want nil", err) } } func TestUNIXProcessAlive(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
src/os/zero_copy_linux.go
package os import ( "internal/poll" "io" "syscall" ) var ( pollCopyFileRange = poll.CopyFileRange pollSplice = poll.Splice ) // wrapSyscallError takes an error and a syscall name. If the error is // a syscall.Errno, it wraps it in an os.SyscallError using the syscall name. func wrapSyscallError(name string, err error) error { if _, ok := err.(syscall.Errno); ok { err = NewSyscallError(name, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4.6K bytes - Viewed (0) -
src/os/exec_linux.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os import ( "syscall" ) func (p *Process) closeHandle() { syscall.Close(int(p.handle))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 261 bytes - Viewed (0) -
src/cmd/go/internal/script/cmds_unix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 00:12:01 UTC 2024 - 301 bytes - Viewed (0) -
src/syscall/linkname_openbsd.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build openbsd && !mips64 package syscall import _ "unsafe" // used by internal/syscall/unix //go:linkname unlinkat //go:linkname openat //go:linkname fstatat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 351 bytes - Viewed (0) -
src/internal/syscall/unix/nofollow_bsd.go
// license that can be found in the LICENSE file. //go:build dragonfly || freebsd package unix import "syscall" // References: // - https://man.freebsd.org/cgi/man.cgi?open(2) // - https://man.dragonflybsd.org/?command=open§ion=2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 384 bytes - Viewed (0)