- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for O_CLOEXEC (0.16 sec)
-
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/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) -
src/syscall/forkpipe.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build aix || darwin package syscall // forkExecPipe opens a pipe and non-atomically sets O_CLOEXEC on both file // descriptors. func forkExecPipe(p []int) error { err := Pipe(p) if err != nil { return err } _, err = fcntl(p[0], F_SETFD, FD_CLOEXEC) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 604 bytes - Viewed (0) -
src/runtime/defs_solaris.go
FORK_WAITPID = C.FORK_WAITPID MAXHOSTNAMELEN = C.MAXHOSTNAMELEN 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 POLLIN = C.POLLIN POLLOUT = C.POLLOUT POLLHUP = C.POLLHUP POLLERR = C.POLLERR PORT_SOURCE_FD = C.PORT_SOURCE_FD PORT_SOURCE_ALERT = C.PORT_SOURCE_ALERT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 17:47:39 UTC 2023 - 3.3K bytes - Viewed (0) -
src/runtime/defs_freebsd.go
const ( EINTR = C.EINTR EFAULT = C.EFAULT 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_SHARED = C.MAP_SHARED MAP_PRIVATE = C.MAP_PRIVATE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.1K bytes - Viewed (0)