Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for O_WRONLY (0.23 sec)

  1. cmd/xl-storage.go

    	// with mode 0o777 mkdir honors system umask.
    	mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here
    
    	w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL)
    	if err != nil {
    		return err
    	}
    	_, err = w.Write(alignedBuf)
    	w.Close()
    	if err != nil {
    		if isSysErrInvalidArg(err) {
    			err = errUnsupportedDisk
    		}
    	}
    	return err
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. src/syscall/zerrors_darwin_arm64.go

    	O_RDWR                            = 0x2
    	O_SHLOCK                          = 0x10
    	O_SYMLINK                         = 0x200000
    	O_SYNC                            = 0x80
    	O_TRUNC                           = 0x400
    	O_WRONLY                          = 0x1
    	PARENB                            = 0x1000
    	PARMRK                            = 0x8
    	PARODD                            = 0x2000
    	PENDIN                            = 0x20000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 55.8K bytes
    - Viewed (0)
  3. src/syscall/zerrors_solaris_amd64.go

    	O_SEARCH                      = 0x200000
    	O_SIOCGIFCONF                 = -0x3ff796ec
    	O_SIOCGLIFCONF                = -0x3fef9688
    	O_SYNC                        = 0x10
    	O_TRUNC                       = 0x200
    	O_WRONLY                      = 0x1
    	O_XATTR                       = 0x4000
    	PARENB                        = 0x100
    	PAREXT                        = 0x100000
    	PARMRK                        = 0x8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  4. src/syscall/zerrors_linux_386.go

    	O_RDONLY                         = 0x0
    	O_RDWR                           = 0x2
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TRUNC                          = 0x200
    	O_WRONLY                         = 0x1
    	PACKET_ADD_MEMBERSHIP            = 0x1
    	PACKET_BROADCAST                 = 0x1
    	PACKET_DROP_MEMBERSHIP           = 0x2
    	PACKET_FASTROUTE                 = 0x6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.4K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows.go

    	}
    	pathp, err := UTF16PtrFromString(path)
    	if err != nil {
    		return InvalidHandle, err
    	}
    	var access uint32
    	switch mode & (O_RDONLY | O_WRONLY | O_RDWR) {
    	case O_RDONLY:
    		access = GENERIC_READ
    	case O_WRONLY:
    		access = GENERIC_WRITE
    	case O_RDWR:
    		access = GENERIC_READ | GENERIC_WRITE
    	}
    	if mode&O_CREAT != 0 {
    		access |= GENERIC_WRITE
    	}
    	if mode&O_APPEND != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	O_SEARCH                      = 0x20
    	O_SNAPSHOT                    = 0x40
    	O_SYNC                        = 0x10
    	O_TRUNC                       = 0x200
    	O_TTY_INIT                    = 0x0
    	O_WRONLY                      = 0x1
    	PARENB                        = 0x100
    	PAREXT                        = 0x100000
    	PARMRK                        = 0x8
    	PARODD                        = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
  7. src/syscall/zerrors_darwin_amd64.go

    	O_RDWR                            = 0x2
    	O_SHLOCK                          = 0x10
    	O_SYMLINK                         = 0x200000
    	O_SYNC                            = 0x80
    	O_TRUNC                           = 0x400
    	O_WRONLY                          = 0x1
    	PARENB                            = 0x1000
    	PARMRK                            = 0x8
    	PARODD                            = 0x2000
    	PENDIN                            = 0x20000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 55.3K bytes
    - Viewed (0)
  8. src/syscall/zerrors_freebsd_arm.go

    	O_RDWR                            = 0x2
    	O_SHLOCK                          = 0x10
    	O_SYNC                            = 0x80
    	O_TRUNC                           = 0x400
    	O_TTY_INIT                        = 0x80000
    	O_WRONLY                          = 0x1
    	PARENB                            = 0x1000
    	PARMRK                            = 0x8
    	PARODD                            = 0x2000
    	PENDIN                            = 0x20000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.3K bytes
    - Viewed (0)
  9. src/syscall/zerrors_freebsd_arm64.go

    	O_RDWR                            = 0x2
    	O_SHLOCK                          = 0x10
    	O_SYNC                            = 0x80
    	O_TRUNC                           = 0x400
    	O_TTY_INIT                        = 0x80000
    	O_WRONLY                          = 0x1
    	PARENB                            = 0x1000
    	PARMRK                            = 0x8
    	PARODD                            = 0x2000
    	PENDIN                            = 0x20000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.4K bytes
    - Viewed (0)
  10. src/syscall/zerrors_freebsd_riscv64.go

    	O_RDWR                            = 0x2
    	O_SHLOCK                          = 0x10
    	O_SYNC                            = 0x80
    	O_TRUNC                           = 0x400
    	O_TTY_INIT                        = 0x80000
    	O_WRONLY                          = 0x1
    	PARENB                            = 0x1000
    	PARMRK                            = 0x8
    	PARODD                            = 0x2000
    	PENDIN                            = 0x20000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 67.4K bytes
    - Viewed (0)
Back to top