1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build freebsd dragonfly darwin linux netbsd openbsd
7 // This file tests that some basic syscalls are consistent across
14 // {Set,Get}priority and needed constants for them
17 _
func(int, int, int) error
= syscall
.Setpriority
18 _
func(int, int) (int, error
) = syscall
.Getpriority
21 _
int = syscall
.PRIO_USER
22 _
int = syscall
.PRIO_PROCESS
23 _
int = syscall
.PRIO_PGRP
27 // termios functions and constants
30 _
int = syscall
.TCIFLUSH
31 _
int = syscall
.TCIOFLUSH
32 _
int = syscall
.TCOFLUSH