1//go:build !linux2// +build !linux34/*5Maddy Mail Server - Composable all-in-one email server.6Copyright © 2019-2020 Max Mazurov <fox.cpp@disroot.org>, Maddy Mail Server contributors78This program is free software: you can redistribute it and/or modify9it under the terms of the GNU General Public License as published by10the Free Software Foundation, either version 3 of the License, or11(at your option) any later version.1213This program is distributed in the hope that it will be useful,14but WITHOUT ANY WARRANTY; without even the implied warranty of15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16GNU General Public License for more details.1718You should have received a copy of the GNU General Public License19along with this program. If not, see <https://www.gnu.org/licenses/>.20*/2122package clitools2324import (25 "errors"26 "os"27)2829type Termios struct {30 Iflag uint3231 Oflag uint3232 Cflag uint3233 Lflag uint3234 Cc [20]byte35 Ispeed uint3236 Ospeed uint3237}3839func TurnOnRawIO(tty *os.File) (orig Termios, err error) {40 return Termios{}, errors.New("not implemented")41}4243func TcSetAttr(fd uintptr, termios *Termios) error {44 return errors.New("not implemented")45}4647func TcGetAttr(fd uintptr) (*Termios, error) {48 return nil, errors.New("not implemented")49}