您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

21 行
414 B

  1. // Copyright 2016 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. // +build gccgo,linux,sparc64
  5. package unix
  6. import "syscall"
  7. //extern sysconf
  8. func realSysconf(name int) int64
  9. func sysconf(name int) (n int64, err syscall.Errno) {
  10. r := realSysconf(name)
  11. if r < 0 {
  12. return 0, syscall.GetErrno()
  13. }
  14. return r, 0
  15. }