Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 167 for ioctl (0.03 sec)

  1. src/syscall/exec_libc.go

    	}
    
    	// Detach fd 0 from tty
    	if sys.Noctty {
    		err1 = ioctl(0, uintptr(TIOCNOTTY), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Set the controlling TTY to Ctty
    	if sys.Setctty {
    		// On AIX, TIOCSCTTY is undefined
    		if TIOCSCTTY == 0 {
    			err1 = ENOSYS
    			goto childerror
    		}
    		err1 = ioctl(uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0)
    		if err1 != 0 {
    			goto childerror
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. src/runtime/syscall2_solaris.go

    //go:cgo_import_dynamic libc_forkx forkx "libc.so"
    //go:cgo_import_dynamic libc_gethostname gethostname "libc.so"
    //go:cgo_import_dynamic libc_getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    //go:cgo_import_dynamic libc_setgid setgid "libc.so"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/syscall/mkerrors.sh

    '
    
    includes_DragonFly='
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/socket.h>
    #include <sys/sockio.h>
    #include <sys/sysctl.h>
    #include <sys/mman.h>
    #include <sys/wait.h>
    #include <sys/ioctl.h>
    #include <net/bpf.h>
    #include <net/if.h>
    #include <net/if_types.h>
    #include <net/route.h>
    #include <netinet/in.h>
    #include <termios.h>
    #include <netinet/ip.h>
    #include <net/ip_mroute/ip_mroute.h>
    '
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #include <sys/select.h>
    #include <sys/socket.h>
    #include <sys/sockio.h>
    #include <sys/stat.h>
    #include <sys/sysctl.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/wait.h>
    #include <sys/ioctl.h>
    #include <net/bpf.h>
    #include <net/if.h>
    #include <net/if_clone.h>
    #include <net/if_types.h>
    #include <net/route.h>
    #include <netinet/in.h>
    #include <termios.h>
    #include <netinet/ip.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/syscall/asm_solaris_amd64.s

    TEXT ·forkx(SB),NOSPLIT,$0
    	JMP	runtime·syscall_forkx(SB)
    
    TEXT ·gethostname(SB),NOSPLIT,$0
    	JMP	runtime·syscall_gethostname(SB)
    
    TEXT ·getpid(SB),NOSPLIT,$0
    	JMP	runtime·syscall_getpid(SB)
    
    TEXT ·ioctl(SB),NOSPLIT,$0
    	JMP	runtime·syscall_ioctl(SB)
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0
    	JMP	runtime·syscall_rawsyscall(SB)
    
    TEXT ·RawSyscall6(SB),NOSPLIT,$0
    	JMP	runtime·syscall_rawsyscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 17:21:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/syscall_aix.go

    //go:cgo_import_dynamic libc_execve execve "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_fcntl fcntl "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_fork fork "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

    import jcifs.internal.smb1.trans2.Trans2FindFirst2Response;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.ValidateNegotiateInfoRequest;
    import jcifs.internal.smb2.ioctl.ValidateNegotiateInfoResponse;
    import jcifs.internal.smb2.nego.Smb2NegotiateRequest;
    import jcifs.internal.smb2.nego.Smb2NegotiateResponse;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/lif/address.go

    	var as []Addr
    	for _, ll := range lls {
    		var lifr lifreq
    		for i := 0; i < len(ll.Name); i++ {
    			lifr.Name[i] = int8(ll.Name[i])
    		}
    		for _, ep := range eps {
    			ioc := int64(syscall.SIOCGLIFADDR)
    			err := ioctl(ep.s, uintptr(ioc), unsafe.Pointer(&lifr))
    			if err != nil {
    				continue
    			}
    			sa := (*sockaddrStorage)(unsafe.Pointer(&lifr.Lifru[0]))
    			l := int(nativeEndian.Uint32(lifr.Lifru1[:4]))
    			if l == 0 {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/net/interface_aix.go

    				ifi.Name = string(sdl.Data[:sdl.Nlen])
    				ifi.HardwareAddr = sdl.Data[sdl.Nlen : sdl.Nlen+sdl.Alen]
    
    				// Retrieve MTU
    				ifr := &ifreq{}
    				copy(ifr.Name[:], ifi.Name)
    				err = unix.Ioctl(sock, syscall.SIOCGIFMTU, unsafe.Pointer(ifr))
    				if err != nil {
    					return nil, err
    				}
    				ifi.MTU = int(ifr.Ifru[0])<<24 | int(ifr.Ifru[1])<<16 | int(ifr.Ifru[2])<<8 | int(ifr.Ifru[3])
    
    				ift = append(ift, *ifi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    }
    
    // IoctlGetIfreqMTU performs the SIOCGIFMTU ioctl operation on fd to get the MTU
    // of the network device specified by ifname.
    func IoctlGetIfreqMTU(fd int, ifname string) (*IfreqMTU, error) {
    	var ifreq IfreqMTU
    	copy(ifreq.Name[:], ifname)
    	err := ioctlPtr(fd, SIOCGIFMTU, unsafe.Pointer(&ifreq))
    	return &ifreq, err
    }
    
    // IoctlSetIfreqMTU performs the SIOCSIFMTU ioctl operation on fd to set the MTU
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
Back to top