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

Side by Side Diff: src/syscall/syscall_linux_ppc64x.go

Issue 180600043: code review 180600043: all: power64 is now ppc64 (Closed)
Patch Set: diff -r 5b665926e5b4d472fc17385cd0b87337fa355b89 https://code.google.com/p/go/ Created 10 years, 3 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 | « src/syscall/mkall.sh ('k') | src/syscall/zerrors_linux_ppc64.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build linux 5 // +build linux
6 // +build power64 power64le 6 // +build ppc64 ppc64le
7 7
8 package syscall 8 package syscall
9 9
10 //sys Chown(path string, uid int, gid int) (err error) 10 //sys Chown(path string, uid int, gid int) (err error)
11 //sys Fchown(fd int, uid int, gid int) (err error) 11 //sys Fchown(fd int, uid int, gid int) (err error)
12 //sys Fstat(fd int, stat *Stat_t) (err error) 12 //sys Fstat(fd int, stat *Stat_t) (err error)
13 //sys Fstatfs(fd int, buf *Statfs_t) (err error) 13 //sys Fstatfs(fd int, buf *Statfs_t) (err error)
14 //sys Ftruncate(fd int, length int64) (err error) 14 //sys Ftruncate(fd int, length int64) (err error)
15 //sysnb Getegid() (egid int) 15 //sysnb Getegid() (egid int)
16 //sysnb Geteuid() (euid int) 16 //sysnb Geteuid() (euid int)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 iov.Len = uint64(length) 88 iov.Len = uint64(length)
89 } 89 }
90 90
91 func (msghdr *Msghdr) SetControllen(length int) { 91 func (msghdr *Msghdr) SetControllen(length int) {
92 msghdr.Controllen = uint64(length) 92 msghdr.Controllen = uint64(length)
93 } 93 }
94 94
95 func (cmsg *Cmsghdr) SetLen(length int) { 95 func (cmsg *Cmsghdr) SetLen(length int) {
96 cmsg.Len = uint64(length) 96 cmsg.Len = uint64(length)
97 } 97 }
OLDNEW
« no previous file with comments | « src/syscall/mkall.sh ('k') | src/syscall/zerrors_linux_ppc64.go » ('j') | no next file with comments »

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