From 7016bcbf2e8ca10a11d0fe8da92f390d6ad6cd56 Mon Sep 17 00:00:00 2001 From: Jonathon Sisson Date: Wed, 8 May 2019 23:45:47 -0500 Subject: [PATCH] Create open_openbsd.go --- serial/open_openbsd.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 serial/open_openbsd.go diff --git a/serial/open_openbsd.go b/serial/open_openbsd.go new file mode 100644 index 0000000..5e7db5d --- /dev/null +++ b/serial/open_openbsd.go @@ -0,0 +1,22 @@ +// Copyright 2011 Aaron Jacobs. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package serial + +import "io" +import "errors" + +func openInternal(options OpenOptions) (io.ReadWriteCloser, error) { + return nil, errors.New("Not implemented on this OS.") +}