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

« back to all changes in this revision

Viewing changes to src/pkg/syscall/zsyscall_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:
85
85
 
86
86
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87
87
 
88
 
func setsockopt(s int, level int, name int, val uintptr, vallen int) (errno int) {
 
88
func setsockopt(s int, level int, name int, val uintptr, vallen uintptr) (errno int) {
89
89
        _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
90
90
        errno = int(e1)
91
91
        return
154
154
 
155
155
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
156
156
 
 
157
func recvmsg(s int, msg *Msghdr, flags int) (n int, errno int) {
 
158
        r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
 
159
        n = int(r0)
 
160
        errno = int(e1)
 
161
        return
 
162
}
 
163
 
 
164
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
 
165
 
 
166
func sendmsg(s int, msg *Msghdr, flags int) (errno int) {
 
167
        _, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
 
168
        errno = int(e1)
 
169
        return
 
170
}
 
171
 
 
172
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
 
173
 
157
174
func kevent(kq int, change uintptr, nchange int, event uintptr, nevent int, timeout *Timespec) (n int, errno int) {
158
175
        r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
159
176
        n = int(r0)
219
236
 
220
237
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
221
238
 
 
239
func ptrace(request int, pid int, addr uintptr, data uintptr) (errno int) {
 
240
        _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
 
241
        errno = int(e1)
 
242
        return
 
243
}
 
244
 
 
245
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
 
246
 
222
247
func kill(pid int, signum int, posix int) (errno int) {
223
248
        _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
224
249
        errno = int(e1)