Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for ENOTSUP (0.12 sec)

  1. src/net/fd_js.go

    	if fd.fakeNetFD != nil {
    		return fd.fakeNetFD.closeRead()
    	}
    	return os.NewSyscallError("closeRead", syscall.ENOTSUP)
    }
    
    func (fd *netFD) closeWrite() error {
    	if fd.fakeNetFD != nil {
    		return fd.fakeNetFD.closeWrite()
    	}
    	return os.NewSyscallError("closeRead", syscall.ENOTSUP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 627 bytes
    - Viewed (0)
  2. src/internal/poll/fd_fsync_darwin.go

    	return ignoringEINTR(func() error {
    		_, err := unix.Fcntl(fd.Sysfd, syscall.F_FULLFSYNC, 0)
    
    		// There are scenarios such as SMB mounts where fcntl will fail
    		// with ENOTSUP. In those cases fallback to fsync.
    		// See #64215
    		if err != nil && errors.Is(err, syscall.ENOTSUP) {
    			err = syscall.Fsync(fd.Sysfd)
    		}
    		return err
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:20:48 UTC 2024
    - 850 bytes
    - Viewed (0)
  3. src/syscall/tables_wasip1.go

    	ENOSPC          Errno = 51
    	ENOSYS          Errno = 52
    	ENOTCONN        Errno = 53
    	ENOTDIR         Errno = 54
    	ENOTEMPTY       Errno = 55
    	ENOTRECOVERABLE Errno = 56
    	ENOTSOCK        Errno = 57
    	ENOTSUP         Errno = 58
    	ENOTTY          Errno = 59
    	ENXIO           Errno = 60
    	EOVERFLOW       Errno = 61
    	EOWNERDEAD      Errno = 62
    	EPERM           Errno = 63
    	EPIPE           Errno = 64
    	EPROTO          Errno = 65
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ptrace_ios.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ios
    
    package unix
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
    	return ENOTSUP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 284 bytes
    - Viewed (0)
  5. src/os/signal/signal_linux_test.go

    // for a regression vs. the fix for #43149.
    func TestAllThreadsSyscallSignals(t *testing.T) {
    	if _, _, err := syscall.AllThreadsSyscall(syscall.SYS_PRCTL, prSetKeepCaps, 0, 0); err == syscall.ENOTSUP {
    		t.Skip("AllThreadsSyscall disabled with cgo")
    	}
    
    	sig := make(chan os.Signal, 1)
    	Notify(sig, os.Interrupt)
    
    	for i := 0; i <= 100; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/outbuf_mmap.go

    		}
    	}
    	if err != nil {
    		// Some file systems do not support fallocate. We ignore that error as linking
    		// can still take place, but you might SIGBUS when you write to the mmapped
    		// area.
    		if err != syscall.ENOTSUP && err != syscall.EPERM && err != errNoFallocate {
    			return err
    		}
    	}
    	err = out.f.Truncate(int64(filesize))
    	if err != nil {
    		Exitf("resize output file failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/net/net_fake.go

    	if raddr != nil && ctrlCtxFn != nil {
    		return nil, os.NewSyscallError("socket", syscall.ENOTSUP)
    	}
    	switch sotype {
    	case syscall.SOCK_STREAM, syscall.SOCK_SEQPACKET, syscall.SOCK_DGRAM:
    	default:
    		return nil, os.NewSyscallError("socket", syscall.ENOTSUP)
    	}
    
    	fd := &netFD{
    		family: family,
    		sotype: sotype,
    		net:    net,
    	}
    	fd.fakeNetFD = newFakeNetFD(fd)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. src/syscall/zerrors_windows.go

    	ENOLINK
    	ENOMEDIUM
    	ENOMEM
    	ENOMSG
    	ENONET
    	ENOPKG
    	ENOPROTOOPT
    	ENOSPC
    	ENOSR
    	ENOSTR
    	ENOSYS
    	ENOTBLK
    	ENOTCONN
    	ENOTEMPTY
    	ENOTNAM
    	ENOTRECOVERABLE
    	ENOTSOCK
    	ENOTSUP
    	ENOTTY
    	ENOTUNIQ
    	ENXIO
    	EOPNOTSUPP
    	EOVERFLOW
    	EOWNERDEAD
    	EPERM
    	EPFNOSUPPORT
    	EPIPE
    	EPROTO
    	EPROTONOSUPPORT
    	EPROTOTYPE
    	ERANGE
    	EREMCHG
    	EREMOTE
    	EREMOTEIO
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
  9. src/syscall/tables_js.go

    	"ECONNREFUSED":    ECONNREFUSED,
    	"EHOSTDOWN":       EHOSTDOWN,
    	"EHOSTUNREACH":    EHOSTUNREACH,
    	"EALREADY":        EALREADY,
    	"EINPROGRESS":     EINPROGRESS,
    	"ESTALE":          ESTALE,
    	"ENOTSUP":         ENOTSUP,
    	"ENOMEDIUM":       ENOMEDIUM,
    	"ECANCELED":       ECANCELED,
    	"ELBIN":           ELBIN,
    	"EFTYPE":          EFTYPE,
    	"ENMFILE":         ENMFILE,
    	"EPROCLIM":        EPROCLIM,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_test.go

    // POSIX semantics for security state changes.
    func TestAllThreadsSyscall(t *testing.T) {
    	if _, _, err := syscall.AllThreadsSyscall(syscall.SYS_PRCTL, PR_SET_KEEPCAPS, 0, 0); err == syscall.ENOTSUP {
    		t.Skip("AllThreadsSyscall disabled with cgo")
    	}
    
    	fns := []struct {
    		label string
    		fn    func(uintptr) error
    	}{
    		{
    			label: "prctl<3-args>",
    			fn: func(v uintptr) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top