~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/syscall/syscall_darwin_386.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        k.Flags = uint16(flags)
41
41
}
42
42
 
 
43
func (iov *Iovec) SetLen(length int) {
 
44
        iov.Len = uint32(length)
 
45
}
 
46
 
 
47
func (msghdr *Msghdr) SetControllen(length int) {
 
48
        msghdr.Controllen = uint32(length)
 
49
}
 
50
 
 
51
func (cmsg *Cmsghdr) SetLen(length int) {
 
52
        cmsg.Len = uint32(length)
 
53
}
 
54
 
43
55
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) // sic