- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for O_CLOEXEC (0.09 sec)
-
src/os/sys_unix.go
//go:build unix package os // supportsCloseOnExec reports whether the platform supports the // O_CLOEXEC flag. // On Darwin, the O_CLOEXEC flag was introduced in OS X 10.7 (Darwin 11.0.0). // See https://support.apple.com/kb/HT1633. // On FreeBSD, the O_CLOEXEC flag was introduced in version 8.3.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 493 bytes - Viewed (0) -
src/syscall/forkpipe2.go
//go:build dragonfly || freebsd || linux || netbsd || openbsd || solaris package syscall import "sync" // forkExecPipe atomically opens a pipe with O_CLOEXEC set on both file // descriptors. func forkExecPipe(p []int) error { return Pipe2(p, O_CLOEXEC) } var ( // Guard the forking variable. forkingLock sync.Mutex // Number of goroutines currently forking, and thus the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 2.6K bytes - Viewed (0) -
src/runtime/defs1_linux.go
*/ package runtime /* #include <ucontext.h> #include <fcntl.h> #include <asm/signal.h> */ import "C" const ( O_RDONLY = C.O_RDONLY O_NONBLOCK = C.O_NONBLOCK O_CLOEXEC = C.O_CLOEXEC SA_RESTORER = C.SA_RESTORER ) type Usigset C.__sigset_t type Fpxreg C.struct__libc_fpxreg type Xmmreg C.struct__libc_xmmreg type Fpstate C.struct__libc_fpstate type Fpxreg1 C.struct__fpxreg
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 845 bytes - Viewed (0) -
src/runtime/defs3_linux.go
#define _SYS_TYPES_H // avoid inclusion of sys/types.h #include <asm/ucontext.h> #include <asm-generic/fcntl.h> */ import "C" const ( O_RDONLY = C.O_RDONLY O_CLOEXEC = C.O_CLOEXEC SA_RESTORER = 0 // unused ) type Usigset C.__sigset_t // types used in sigcontext type Ptregs C.struct_pt_regs type Gregset C.elf_gregset_t type FPregset C.elf_fpregset_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K bytes - Viewed (0) -
src/runtime/defs_dragonfly.go
EFAULT = C.EFAULT EBUSY = C.EBUSY EAGAIN = C.EAGAIN ETIMEDOUT = C.ETIMEDOUT O_WRONLY = C.O_WRONLY O_NONBLOCK = C.O_NONBLOCK O_CREAT = C.O_CREAT O_TRUNC = C.O_TRUNC O_CLOEXEC = C.O_CLOEXEC PROT_NONE = C.PROT_NONE PROT_READ = C.PROT_READ PROT_WRITE = C.PROT_WRITE PROT_EXEC = C.PROT_EXEC MAP_ANON = C.MAP_ANON MAP_PRIVATE = C.MAP_PRIVATE MAP_FIXED = C.MAP_FIXED
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/defs_openbsd.go
#include <pthread.h> #include <signal.h> */ import "C" const ( EINTR = C.EINTR EFAULT = C.EFAULT EAGAIN = C.EAGAIN ETIMEDOUT = C.ETIMEDOUT O_NONBLOCK = C.O_NONBLOCK O_CLOEXEC = C.O_CLOEXEC PROT_NONE = C.PROT_NONE PROT_READ = C.PROT_READ PROT_WRITE = C.PROT_WRITE PROT_EXEC = C.PROT_EXEC MAP_ANON = C.MAP_ANON MAP_PRIVATE = C.MAP_PRIVATE MAP_FIXED = C.MAP_FIXED
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 3.1K bytes - Viewed (0) -
src/os/pipe2_unix.go
// Pipe returns a connected pair of Files; reads from r return bytes written to w. // It returns the files and an error, if any. func Pipe() (r *File, w *File, err error) { var p [2]int e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC) if e != nil { return nil, nil, NewSyscallError("pipe2", e) } return newFile(p[0], "|0", kindPipe, false), newFile(p[1], "|1", kindPipe, false), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 654 bytes - Viewed (0) -
src/os/sys_wasip1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasip1 package os // supportsCloseOnExec reports whether the platform supports the // O_CLOEXEC flag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 309 bytes - Viewed (0) -
src/runtime/defs_netbsd.go
*/ import "C" const ( EINTR = C.EINTR EFAULT = C.EFAULT EAGAIN = C.EAGAIN O_WRONLY = C.O_WRONLY O_NONBLOCK = C.O_NONBLOCK O_CREAT = C.O_CREAT O_TRUNC = C.O_TRUNC O_CLOEXEC = C.O_CLOEXEC PROT_NONE = C.PROT_NONE PROT_READ = C.PROT_READ PROT_WRITE = C.PROT_WRITE PROT_EXEC = C.PROT_EXEC MAP_ANON = C.MAP_ANON MAP_PRIVATE = C.MAP_PRIVATE MAP_FIXED = C.MAP_FIXED
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/const_plan9.go
package plan9 // Plan 9 Constants // Open modes const ( O_RDONLY = 0 O_WRONLY = 1 O_RDWR = 2 O_TRUNC = 16 O_CLOEXEC = 32 O_EXCL = 0x1000 ) // Rfork flags const ( RFNAMEG = 1 << 0 RFENVG = 1 << 1 RFFDG = 1 << 2 RFNOTEG = 1 << 3 RFPROC = 1 << 4 RFMEM = 1 << 5 RFNOWAIT = 1 << 6 RFCNAMEG = 1 << 10 RFCENVG = 1 << 11 RFCFDG = 1 << 12 RFREND = 1 << 13
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 1004 bytes - Viewed (0)