go term_unix_bsd 源码

2022-07-15 浏览 (741)

golang term_unix_bsd 代码

文件路径:/src/cmd/vendor/golang.org/x/term/term_unix_bsd.go

// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build darwin || dragonfly || freebsd || netbsd || openbsd
// +build darwin dragonfly freebsd netbsd openbsd

package term

import "golang.org/x/sys/unix"

const ioctlReadTermios = unix.TIOCGETA
const ioctlWriteTermios = unix.TIOCSETA

相关信息

go 源码目录

相关文章

go term 源码

go term_plan9 源码

go term_unix 源码

go term_unix_other 源码

go term_unsupported 源码

go term_windows 源码

go terminal 源码

  • 所属分类: 后端技术
  • 本文标签: golang
  • 版权声明: 本文链接 https://seaxiang.com/blog/718b9c0f9cda41008a571e59d7569420