- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for O_CLOEXEC (0.22 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/runtime/defs2_linux.go
SEGV_MAPERR = C.SEGV_MAPERR SEGV_ACCERR = C.SEGV_ACCERR ITIMER_REAL = C.ITIMER_REAL ITIMER_VIRTUAL = C.ITIMER_VIRTUAL ITIMER_PROF = C.ITIMER_PROF O_RDONLY = C.O_RDONLY O_CLOEXEC = C.O_CLOEXEC ) type Fpreg C.struct__fpreg type Fpxreg C.struct__fpxreg type Xmmreg C.struct__xmmreg type Fpstate C.struct__fpstate type Timespec C.struct_timespec type Timeval C.struct_timeval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 07 18:28:11 UTC 2022 - 3.2K bytes - Viewed (0)