blob: fe16eb0ca9670636072440eb5e5d0a8555185f89 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package serial
import (
"io"
)
// Open opens a new serial port with the given name and baud rate.
func Open(name string, baudRate int, timeoutSecs int) (io.ReadWriteCloser, error) {
return open(name, baudRate, timeoutSecs)
}