Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(388)

Side by Side Diff: src/pkg/syscall/consistency_unix_test.go

Issue 7430044: code review 7430044: syscall: add {Set,Get}priority for Linux, and consisten... (Closed)
Patch Set: diff -r 48f683178a60 https://code.google.com/p/go/ Created 11 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/pkg/syscall/mkerrors.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 // +build freebsd darwin linux netbsd openbsd
6
7 // This file tests that some basic syscalls are consistent across
8 // all Unixes.
9
10 package syscall_test
11
12 import "syscall"
13
14 // {Set,Get}priority and needed constants for them
15 func _() {
16 var (
17 _ func(int, int, int) error = syscall.Setpriority
18 _ func(int, int) (int, error) = syscall.Getpriority
19 )
20 const (
21 _ int = syscall.PRIO_USER
22 _ int = syscall.PRIO_PROCESS
23 _ int = syscall.PRIO_PGRP
24 )
25 }
OLDNEW
« no previous file with comments | « no previous file | src/pkg/syscall/mkerrors.sh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b