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

Side by Side Diff: unix/zsyscall_netbsd_arm.go

Issue 121520043: code review 121520043: go.sys: update package names (Closed)
Patch Set: diff -r ad63a19ca444543ec83ec030d1200b0510f3f192 https://code.google.com/p/go.sys Created 10 years, 7 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 | « unix/zsyscall_netbsd_amd64.go ('k') | unix/zsyscall_openbsd_386.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 // mksyscall.pl -l32 -arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go 1 // mkunix.pl -l32 -arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
2 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT 2 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3 3
4 package syscall 4 package unix
5 5
6 import "unsafe" 6 import "unsafe"
7 7
8 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT 8 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
9 9
10 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 10 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
11 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Poi nter(gid)), 0) 11 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Poi nter(gid)), 0)
12 n = int(r0) 12 n = int(r0)
13 if e1 != 0 { 13 if e1 != 0 {
14 err = e1 14 err = e1
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT 1215 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1216 1216
1217 func writelen(fd int, buf *byte, nbuf int) (n int, err error) { 1217 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1218 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf) ), uintptr(nbuf)) 1218 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf) ), uintptr(nbuf))
1219 n = int(r0) 1219 n = int(r0)
1220 if e1 != 0 { 1220 if e1 != 0 {
1221 err = e1 1221 err = e1
1222 } 1222 }
1223 return 1223 return
1224 } 1224 }
OLDNEW
« no previous file with comments | « unix/zsyscall_netbsd_amd64.go ('k') | unix/zsyscall_openbsd_386.go » ('j') | no next file with comments »

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