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

Delta Between Two Patch Sets: unix/zsyscall_darwin_386.go

Issue 126960043: code review 126960043: go.sys: copy files from syscall package to go.sys/{plan... (Closed)
Left Patch Set: Created 10 years, 7 months ago
Right Patch Set: diff -r 89b705e036f489a14b4d11c6e025ea61a53bb735 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « unix/zerrors_solaris_amd64.go ('k') | unix/zsyscall_darwin_amd64.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // mksyscall.pl -l32 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go 1 // mksyscall.pl -l32 syscall_bsd.go syscall_darwin.go syscall_darwin_386.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 syscall
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) {
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 1378
1379 func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) { 1379 func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
1380 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) 1380 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1381 sec = int32(r0) 1381 sec = int32(r0)
1382 usec = int32(r1) 1382 usec = int32(r1)
1383 if e1 != 0 { 1383 if e1 != 0 {
1384 err = e1 1384 err = e1
1385 } 1385 }
1386 return 1386 return
1387 } 1387 }
LEFTRIGHT

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