Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FD_CLOEXEC (0.18 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    	err = socketpair(domain, typ, proto, &fdx)
    	if err == nil {
    		fd[0] = int(fdx[0])
    		fd[1] = int(fdx[1])
    	}
    	return
    }
    
    var ioSync int64
    
    func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
    
    func SetNonblock(fd int, nonblocking bool) (err error) {
    	flag, err := fcntl(fd, F_GETFL, 0)
    	if err != nil {
    		return err
    	}
    	if (flag&O_NONBLOCK != 0) == nonblocking {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. src/syscall/zerrors_aix_ppc64.go

    	EXTB                          = 0xf
    	EXTRAP                        = 0x1
    	EYEC_RTENTRYA                 = 0x257274656e747241
    	EYEC_RTENTRYF                 = 0x257274656e747246
    	E_ACC                         = 0x0
    	FD_CLOEXEC                    = 0x1
    	FD_SETSIZE                    = 0xfffe
    	FLUSHBAND                     = 0x40
    	FLUSHLOW                      = 0x8
    	FLUSHO                        = 0x100000
    	FLUSHR                        = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 16:18:12 UTC 2019
    - 47.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	EPOLLWRBAND              = 0x0008
    	EPOLLPRI                 = 0x0010
    	EPOLLERR                 = 0x0020
    	EPOLLHUP                 = 0x0040
    	EPOLLEXCLUSIVE           = 0x20000000
    	EPOLLONESHOT             = 0x40000000
    	FD_CLOEXEC               = 0x01
    	FD_CLOFORK               = 0x02
    	FD_SETSIZE               = 0x800
    	FNDELAY                  = 0x04
    	F_CLOSFD                 = 9
    	F_CONTROL_CVT            = 13
    	F_DUPFD                  = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top