// OpenFileSequential is the generalized open call; most users will use Open
// or Create instead.
// If there is an error, it will be of type *PathError.
OpenFileSequential is the generalized open call; most users will use Open
or Create instead.
If there is an error, it will be of type *PathError.
// OpenFileSequential is the generalized open call ; most users will use Open // or Create instead . // If there is an error it will be of type * PathError .
func OpenFileSequential(name string, flag int, _ os.FileMode) (*os.File, error) {
        if name == "" {
                return nil, &os.PathError{Op: "open", Path: name, Err: syscall.ENOENT}
        }
        r, errf := windowsOpenFileSequential(name, flag, 0)
        if errf == nil {
                return r, nil
        }
        return nil, &os.PathError{Op: "open", Path: name, Err: errf}
}
func OpenFileSequential ( name string , flag int , _ os . FileMode ) ( * os . File , error ) { if name == " " { return nil , & os . PathError { Op : " " , Path : name , Err : syscall . ENOENT } } r , errf := windowsOpenFileSequential ( name , flag , 0 ) if errf == nil { return r , nil } return nil , & os . PathError { Op : " " , Path : name , Err : errf } }
OpenFileSequential is the generalized open call; most users will use Open
or Create instead.
OpenFileSequential is the generalized open call ; most users will use Open or Create instead .