Files
go-serial/serial_darwin.go
Cristian Maglie 970475ed06 Updated licenses
2017-03-04 16:29:55 +01:00

16 lines
381 B
Go

//
// Copyright 2014-2017 Cristian Maglie. 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 "go.bug.st/serial.v1"
import "syscall"
const devFolder = "/dev"
const regexFilter = "^(cu|tty)\\..*"
const ioctlTcgetattr = syscall.TIOCGETA
const ioctlTcsetattr = syscall.TIOCSETA