Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for O_SYNC (0.1 sec)

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

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x8000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x404000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x1000
    	PARODD                           = 0x2000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    		*wstatus = WaitStatus(status)
    	}
    	return
    }
    
    //sys	fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range
    
    func Fsync(fd int) error {
    	return fsyncRange(fd, O_SYNC, 0, 0)
    }
    
    /*
     * Socket
     */
    //sys	bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
    //sys	connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x8000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x404000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x1000
    	PARODD                           = 0x2000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go

    	O_NOCTTY                         = 0x100
    	O_NOFOLLOW                       = 0x20000
    	O_NONBLOCK                       = 0x800
    	O_PATH                           = 0x200000
    	O_RSYNC                          = 0x101000
    	O_SYNC                           = 0x101000
    	O_TMPFILE                        = 0x410000
    	O_TRUNC                          = 0x200
    	PARENB                           = 0x100
    	PARODD                           = 0x200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	O_LARGEFILE                     = 0x0400
    	O_NDELAY                        = 0x4
    	O_NONBLOCK                      = 0x04
    	O_RDONLY                        = 0x02
    	O_RDWR                          = 0x03
    	O_SYNC                          = 0x0100
    	O_TRUNC                         = 0x10
    	O_WRONLY                        = 0x01
    	O_NOCTTY                        = 0x20
    	OPOST                           = 0x0001
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. src/syscall/fs_wasip1.go

    	case O_WRONLY:
    		rights = fileRights & ^readRights
    	case O_RDWR:
    		rights = fileRights
    	}
    
    	var fdflags fdflags
    	if (openmode & O_APPEND) != 0 {
    		fdflags |= FDFLAG_APPEND
    	}
    	if (openmode & O_SYNC) != 0 {
    		fdflags |= FDFLAG_SYNC
    	}
    
    	var fd int32
    	errno := path_open(
    		dirFd,
    		LOOKUP_SYMLINK_FOLLOW,
    		pathPtr,
    		pathLen,
    		oflags,
    		rights,
    		fileRights,
    		fdflags,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. src/syscall/zerrors_solaris_amd64.go

    	O_RDWR                        = 0x2
    	O_RSYNC                       = 0x8000
    	O_SEARCH                      = 0x200000
    	O_SIOCGIFCONF                 = -0x3ff796ec
    	O_SIOCGLIFCONF                = -0x3fef9688
    	O_SYNC                        = 0x10
    	O_TRUNC                       = 0x200
    	O_WRONLY                      = 0x1
    	O_XATTR                       = 0x4000
    	PARENB                        = 0x100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  8. src/syscall/syscall_windows.go

    				return h, e
    			}
    		}
    	}
    	if createmode == OPEN_EXISTING && access == GENERIC_READ {
    		// Necessary for opening directory handles.
    		attrs |= FILE_FLAG_BACKUP_SEMANTICS
    	}
    	if mode&O_SYNC != 0 {
    		const _FILE_FLAG_WRITE_THROUGH = 0x80000000
    		attrs |= _FILE_FLAG_WRITE_THROUGH
    	}
    	return CreateFile(pathp, access, sharemode, sa, createmode, attrs, 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)
  9. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	O_RDONLY   = 0x00000
    	O_WRONLY   = 0x00001
    	O_RDWR     = 0x00002
    	O_CREAT    = 0x00040
    	O_EXCL     = 0x00080
    	O_NOCTTY   = 0x00100
    	O_TRUNC    = 0x00200
    	O_NONBLOCK = 0x00800
    	O_APPEND   = 0x00400
    	O_SYNC     = 0x01000
    	O_ASYNC    = 0x02000
    	O_CLOEXEC  = 0x80000
    )
    
    const (
    	// More invented values for signals
    	SIGHUP  = Signal(0x1)
    	SIGINT  = Signal(0x2)
    	SIGQUIT = Signal(0x3)
    	SIGILL  = Signal(0x4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		t.Fatal(err)
    	}
    
    	// 4) Streaming bitrot check on corrupted file
    	filePath := pathJoin(storage.String(), volName, fileName)
    	f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0o644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Replace first 256 with 'a'.
    	if _, err := f.WriteString(strings.Repeat("a", 256)); err != nil {
    		t.Fatal(err)
    	}
    	f.Close()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top