zsyscall_aix_ppc64_gccgo.go 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070
  1. // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build aix,ppc64
  4. // +build gccgo
  5. package unix
  6. /*
  7. #include <stdint.h>
  8. int utimes(uintptr_t, uintptr_t);
  9. int utimensat(int, uintptr_t, uintptr_t, int);
  10. int getcwd(uintptr_t, size_t);
  11. int accept(int, uintptr_t, uintptr_t);
  12. int getdirent(int, uintptr_t, size_t);
  13. int wait4(int, uintptr_t, int, uintptr_t);
  14. int ioctl(int, int, uintptr_t);
  15. int fcntl(uintptr_t, int, uintptr_t);
  16. int acct(uintptr_t);
  17. int chdir(uintptr_t);
  18. int chroot(uintptr_t);
  19. int close(int);
  20. int dup(int);
  21. void exit(int);
  22. int faccessat(int, uintptr_t, unsigned int, int);
  23. int fchdir(int);
  24. int fchmod(int, unsigned int);
  25. int fchmodat(int, uintptr_t, unsigned int, int);
  26. int fchownat(int, uintptr_t, int, int, int);
  27. int fdatasync(int);
  28. int fsync(int);
  29. int getpgid(int);
  30. int getpgrp();
  31. int getpid();
  32. int getppid();
  33. int getpriority(int, int);
  34. int getrusage(int, uintptr_t);
  35. int getsid(int);
  36. int kill(int, int);
  37. int syslog(int, uintptr_t, size_t);
  38. int mkdir(int, uintptr_t, unsigned int);
  39. int mkdirat(int, uintptr_t, unsigned int);
  40. int mkfifo(uintptr_t, unsigned int);
  41. int mknod(uintptr_t, unsigned int, int);
  42. int mknodat(int, uintptr_t, unsigned int, int);
  43. int nanosleep(uintptr_t, uintptr_t);
  44. int open64(uintptr_t, int, unsigned int);
  45. int openat(int, uintptr_t, int, unsigned int);
  46. int read(int, uintptr_t, size_t);
  47. int readlink(uintptr_t, uintptr_t, size_t);
  48. int renameat(int, uintptr_t, int, uintptr_t);
  49. int setdomainname(uintptr_t, size_t);
  50. int sethostname(uintptr_t, size_t);
  51. int setpgid(int, int);
  52. int setsid();
  53. int settimeofday(uintptr_t);
  54. int setuid(int);
  55. int setgid(int);
  56. int setpriority(int, int, int);
  57. int statx(int, uintptr_t, int, int, uintptr_t);
  58. int sync();
  59. uintptr_t times(uintptr_t);
  60. int umask(int);
  61. int uname(uintptr_t);
  62. int unlink(uintptr_t);
  63. int unlinkat(int, uintptr_t, int);
  64. int ustat(int, uintptr_t);
  65. int write(int, uintptr_t, size_t);
  66. int dup2(int, int);
  67. int posix_fadvise64(int, long long, long long, int);
  68. int fchown(int, int, int);
  69. int fstat(int, uintptr_t);
  70. int fstatat(int, uintptr_t, uintptr_t, int);
  71. int fstatfs(int, uintptr_t);
  72. int ftruncate(int, long long);
  73. int getegid();
  74. int geteuid();
  75. int getgid();
  76. int getuid();
  77. int lchown(uintptr_t, int, int);
  78. int listen(int, int);
  79. int lstat(uintptr_t, uintptr_t);
  80. int pause();
  81. int pread64(int, uintptr_t, size_t, long long);
  82. int pwrite64(int, uintptr_t, size_t, long long);
  83. #define c_select select
  84. int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
  85. int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
  86. int setregid(int, int);
  87. int setreuid(int, int);
  88. int shutdown(int, int);
  89. long long splice(int, uintptr_t, int, uintptr_t, int, int);
  90. int stat(uintptr_t, uintptr_t);
  91. int statfs(uintptr_t, uintptr_t);
  92. int truncate(uintptr_t, long long);
  93. int bind(int, uintptr_t, uintptr_t);
  94. int connect(int, uintptr_t, uintptr_t);
  95. int getgroups(int, uintptr_t);
  96. int setgroups(int, uintptr_t);
  97. int getsockopt(int, int, int, uintptr_t, uintptr_t);
  98. int setsockopt(int, int, int, uintptr_t, uintptr_t);
  99. int socket(int, int, int);
  100. int socketpair(int, int, int, uintptr_t);
  101. int getpeername(int, uintptr_t, uintptr_t);
  102. int getsockname(int, uintptr_t, uintptr_t);
  103. int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
  104. int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
  105. int nrecvmsg(int, uintptr_t, int);
  106. int nsendmsg(int, uintptr_t, int);
  107. int munmap(uintptr_t, uintptr_t);
  108. int madvise(uintptr_t, size_t, int);
  109. int mprotect(uintptr_t, size_t, int);
  110. int mlock(uintptr_t, size_t);
  111. int mlockall(int);
  112. int msync(uintptr_t, size_t, int);
  113. int munlock(uintptr_t, size_t);
  114. int munlockall();
  115. int pipe(uintptr_t);
  116. int poll(uintptr_t, int, int);
  117. int gettimeofday(uintptr_t, uintptr_t);
  118. int time(uintptr_t);
  119. int utime(uintptr_t, uintptr_t);
  120. unsigned long long getsystemcfg(int);
  121. int umount(uintptr_t);
  122. int getrlimit(int, uintptr_t);
  123. int setrlimit(int, uintptr_t);
  124. long long lseek(int, long long, int);
  125. uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long);
  126. */
  127. import "C"
  128. import (
  129. "syscall"
  130. )
  131. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  132. func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
  133. r1 = uintptr(C.utimes(C.uintptr_t(_p0), C.uintptr_t(times)))
  134. e1 = syscall.GetErrno()
  135. return
  136. }
  137. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  138. func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
  139. r1 = uintptr(C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(times), C.int(flag)))
  140. e1 = syscall.GetErrno()
  141. return
  142. }
  143. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  144. func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  145. r1 = uintptr(C.getcwd(C.uintptr_t(_p0), C.size_t(_lenp0)))
  146. e1 = syscall.GetErrno()
  147. return
  148. }
  149. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  150. func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  151. r1 = uintptr(C.accept(C.int(s), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
  152. e1 = syscall.GetErrno()
  153. return
  154. }
  155. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  156. func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  157. r1 = uintptr(C.getdirent(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
  158. e1 = syscall.GetErrno()
  159. return
  160. }
  161. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  162. func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
  163. r1 = uintptr(C.wait4(C.int(pid), C.uintptr_t(status), C.int(options), C.uintptr_t(rusage)))
  164. e1 = syscall.GetErrno()
  165. return
  166. }
  167. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  168. func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
  169. r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg)))
  170. e1 = syscall.GetErrno()
  171. return
  172. }
  173. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  174. func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
  175. r1 = uintptr(C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg)))
  176. e1 = syscall.GetErrno()
  177. return
  178. }
  179. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  180. func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
  181. r1 = uintptr(C.acct(C.uintptr_t(_p0)))
  182. e1 = syscall.GetErrno()
  183. return
  184. }
  185. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  186. func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
  187. r1 = uintptr(C.chdir(C.uintptr_t(_p0)))
  188. e1 = syscall.GetErrno()
  189. return
  190. }
  191. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  192. func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
  193. r1 = uintptr(C.chroot(C.uintptr_t(_p0)))
  194. e1 = syscall.GetErrno()
  195. return
  196. }
  197. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  198. func callclose(fd int) (r1 uintptr, e1 Errno) {
  199. r1 = uintptr(C.close(C.int(fd)))
  200. e1 = syscall.GetErrno()
  201. return
  202. }
  203. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  204. func calldup(oldfd int) (r1 uintptr, e1 Errno) {
  205. r1 = uintptr(C.dup(C.int(oldfd)))
  206. e1 = syscall.GetErrno()
  207. return
  208. }
  209. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  210. func callexit(code int) (r1 uintptr, e1 Errno) {
  211. r1 = uintptr(C.exit(C.int(code)))
  212. e1 = syscall.GetErrno()
  213. return
  214. }
  215. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  216. func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
  217. r1 = uintptr(C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
  218. e1 = syscall.GetErrno()
  219. return
  220. }
  221. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  222. func callfchdir(fd int) (r1 uintptr, e1 Errno) {
  223. r1 = uintptr(C.fchdir(C.int(fd)))
  224. e1 = syscall.GetErrno()
  225. return
  226. }
  227. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  228. func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
  229. r1 = uintptr(C.fchmod(C.int(fd), C.uint(mode)))
  230. e1 = syscall.GetErrno()
  231. return
  232. }
  233. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  234. func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
  235. r1 = uintptr(C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
  236. e1 = syscall.GetErrno()
  237. return
  238. }
  239. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  240. func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
  241. r1 = uintptr(C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags)))
  242. e1 = syscall.GetErrno()
  243. return
  244. }
  245. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  246. func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
  247. r1 = uintptr(C.fdatasync(C.int(fd)))
  248. e1 = syscall.GetErrno()
  249. return
  250. }
  251. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  252. func callfsync(fd int) (r1 uintptr, e1 Errno) {
  253. r1 = uintptr(C.fsync(C.int(fd)))
  254. e1 = syscall.GetErrno()
  255. return
  256. }
  257. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  258. func callgetpgid(pid int) (r1 uintptr, e1 Errno) {
  259. r1 = uintptr(C.getpgid(C.int(pid)))
  260. e1 = syscall.GetErrno()
  261. return
  262. }
  263. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  264. func callgetpgrp() (r1 uintptr, e1 Errno) {
  265. r1 = uintptr(C.getpgrp())
  266. e1 = syscall.GetErrno()
  267. return
  268. }
  269. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  270. func callgetpid() (r1 uintptr, e1 Errno) {
  271. r1 = uintptr(C.getpid())
  272. e1 = syscall.GetErrno()
  273. return
  274. }
  275. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  276. func callgetppid() (r1 uintptr, e1 Errno) {
  277. r1 = uintptr(C.getppid())
  278. e1 = syscall.GetErrno()
  279. return
  280. }
  281. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  282. func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
  283. r1 = uintptr(C.getpriority(C.int(which), C.int(who)))
  284. e1 = syscall.GetErrno()
  285. return
  286. }
  287. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  288. func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
  289. r1 = uintptr(C.getrusage(C.int(who), C.uintptr_t(rusage)))
  290. e1 = syscall.GetErrno()
  291. return
  292. }
  293. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  294. func callgetsid(pid int) (r1 uintptr, e1 Errno) {
  295. r1 = uintptr(C.getsid(C.int(pid)))
  296. e1 = syscall.GetErrno()
  297. return
  298. }
  299. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  300. func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
  301. r1 = uintptr(C.kill(C.int(pid), C.int(sig)))
  302. e1 = syscall.GetErrno()
  303. return
  304. }
  305. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  306. func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  307. r1 = uintptr(C.syslog(C.int(typ), C.uintptr_t(_p0), C.size_t(_lenp0)))
  308. e1 = syscall.GetErrno()
  309. return
  310. }
  311. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  312. func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
  313. r1 = uintptr(C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
  314. e1 = syscall.GetErrno()
  315. return
  316. }
  317. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  318. func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
  319. r1 = uintptr(C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
  320. e1 = syscall.GetErrno()
  321. return
  322. }
  323. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  324. func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
  325. r1 = uintptr(C.mkfifo(C.uintptr_t(_p0), C.uint(mode)))
  326. e1 = syscall.GetErrno()
  327. return
  328. }
  329. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  330. func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
  331. r1 = uintptr(C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
  332. e1 = syscall.GetErrno()
  333. return
  334. }
  335. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  336. func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
  337. r1 = uintptr(C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
  338. e1 = syscall.GetErrno()
  339. return
  340. }
  341. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  342. func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
  343. r1 = uintptr(C.nanosleep(C.uintptr_t(time), C.uintptr_t(leftover)))
  344. e1 = syscall.GetErrno()
  345. return
  346. }
  347. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  348. func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
  349. r1 = uintptr(C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm)))
  350. e1 = syscall.GetErrno()
  351. return
  352. }
  353. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  354. func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
  355. r1 = uintptr(C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode)))
  356. e1 = syscall.GetErrno()
  357. return
  358. }
  359. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  360. func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  361. r1 = uintptr(C.read(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
  362. e1 = syscall.GetErrno()
  363. return
  364. }
  365. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  366. func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
  367. r1 = uintptr(C.readlink(C.uintptr_t(_p0), C.uintptr_t(_p1), C.size_t(_lenp1)))
  368. e1 = syscall.GetErrno()
  369. return
  370. }
  371. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  372. func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
  373. r1 = uintptr(C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1)))
  374. e1 = syscall.GetErrno()
  375. return
  376. }
  377. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  378. func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  379. r1 = uintptr(C.setdomainname(C.uintptr_t(_p0), C.size_t(_lenp0)))
  380. e1 = syscall.GetErrno()
  381. return
  382. }
  383. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  384. func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  385. r1 = uintptr(C.sethostname(C.uintptr_t(_p0), C.size_t(_lenp0)))
  386. e1 = syscall.GetErrno()
  387. return
  388. }
  389. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  390. func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
  391. r1 = uintptr(C.setpgid(C.int(pid), C.int(pgid)))
  392. e1 = syscall.GetErrno()
  393. return
  394. }
  395. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  396. func callsetsid() (r1 uintptr, e1 Errno) {
  397. r1 = uintptr(C.setsid())
  398. e1 = syscall.GetErrno()
  399. return
  400. }
  401. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  402. func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
  403. r1 = uintptr(C.settimeofday(C.uintptr_t(tv)))
  404. e1 = syscall.GetErrno()
  405. return
  406. }
  407. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  408. func callsetuid(uid int) (r1 uintptr, e1 Errno) {
  409. r1 = uintptr(C.setuid(C.int(uid)))
  410. e1 = syscall.GetErrno()
  411. return
  412. }
  413. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  414. func callsetgid(uid int) (r1 uintptr, e1 Errno) {
  415. r1 = uintptr(C.setgid(C.int(uid)))
  416. e1 = syscall.GetErrno()
  417. return
  418. }
  419. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  420. func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
  421. r1 = uintptr(C.setpriority(C.int(which), C.int(who), C.int(prio)))
  422. e1 = syscall.GetErrno()
  423. return
  424. }
  425. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  426. func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
  427. r1 = uintptr(C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(stat)))
  428. e1 = syscall.GetErrno()
  429. return
  430. }
  431. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  432. func callsync() (r1 uintptr, e1 Errno) {
  433. r1 = uintptr(C.sync())
  434. e1 = syscall.GetErrno()
  435. return
  436. }
  437. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  438. func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
  439. r1 = uintptr(C.times(C.uintptr_t(tms)))
  440. e1 = syscall.GetErrno()
  441. return
  442. }
  443. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  444. func callumask(mask int) (r1 uintptr, e1 Errno) {
  445. r1 = uintptr(C.umask(C.int(mask)))
  446. e1 = syscall.GetErrno()
  447. return
  448. }
  449. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  450. func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
  451. r1 = uintptr(C.uname(C.uintptr_t(buf)))
  452. e1 = syscall.GetErrno()
  453. return
  454. }
  455. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  456. func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
  457. r1 = uintptr(C.unlink(C.uintptr_t(_p0)))
  458. e1 = syscall.GetErrno()
  459. return
  460. }
  461. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  462. func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
  463. r1 = uintptr(C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags)))
  464. e1 = syscall.GetErrno()
  465. return
  466. }
  467. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  468. func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
  469. r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf)))
  470. e1 = syscall.GetErrno()
  471. return
  472. }
  473. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  474. func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  475. r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
  476. e1 = syscall.GetErrno()
  477. return
  478. }
  479. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  480. func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
  481. r1 = uintptr(C.dup2(C.int(oldfd), C.int(newfd)))
  482. e1 = syscall.GetErrno()
  483. return
  484. }
  485. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  486. func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
  487. r1 = uintptr(C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice)))
  488. e1 = syscall.GetErrno()
  489. return
  490. }
  491. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  492. func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
  493. r1 = uintptr(C.fchown(C.int(fd), C.int(uid), C.int(gid)))
  494. e1 = syscall.GetErrno()
  495. return
  496. }
  497. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  498. func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
  499. r1 = uintptr(C.fstat(C.int(fd), C.uintptr_t(stat)))
  500. e1 = syscall.GetErrno()
  501. return
  502. }
  503. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  504. func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
  505. r1 = uintptr(C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(stat), C.int(flags)))
  506. e1 = syscall.GetErrno()
  507. return
  508. }
  509. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  510. func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
  511. r1 = uintptr(C.fstatfs(C.int(fd), C.uintptr_t(buf)))
  512. e1 = syscall.GetErrno()
  513. return
  514. }
  515. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  516. func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
  517. r1 = uintptr(C.ftruncate(C.int(fd), C.longlong(length)))
  518. e1 = syscall.GetErrno()
  519. return
  520. }
  521. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  522. func callgetegid() (r1 uintptr, e1 Errno) {
  523. r1 = uintptr(C.getegid())
  524. e1 = syscall.GetErrno()
  525. return
  526. }
  527. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  528. func callgeteuid() (r1 uintptr, e1 Errno) {
  529. r1 = uintptr(C.geteuid())
  530. e1 = syscall.GetErrno()
  531. return
  532. }
  533. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  534. func callgetgid() (r1 uintptr, e1 Errno) {
  535. r1 = uintptr(C.getgid())
  536. e1 = syscall.GetErrno()
  537. return
  538. }
  539. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  540. func callgetuid() (r1 uintptr, e1 Errno) {
  541. r1 = uintptr(C.getuid())
  542. e1 = syscall.GetErrno()
  543. return
  544. }
  545. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  546. func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
  547. r1 = uintptr(C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid)))
  548. e1 = syscall.GetErrno()
  549. return
  550. }
  551. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  552. func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
  553. r1 = uintptr(C.listen(C.int(s), C.int(n)))
  554. e1 = syscall.GetErrno()
  555. return
  556. }
  557. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  558. func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
  559. r1 = uintptr(C.lstat(C.uintptr_t(_p0), C.uintptr_t(stat)))
  560. e1 = syscall.GetErrno()
  561. return
  562. }
  563. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  564. func callpause() (r1 uintptr, e1 Errno) {
  565. r1 = uintptr(C.pause())
  566. e1 = syscall.GetErrno()
  567. return
  568. }
  569. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  570. func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
  571. r1 = uintptr(C.pread64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
  572. e1 = syscall.GetErrno()
  573. return
  574. }
  575. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  576. func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
  577. r1 = uintptr(C.pwrite64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
  578. e1 = syscall.GetErrno()
  579. return
  580. }
  581. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  582. func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
  583. r1 = uintptr(C.c_select(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout)))
  584. e1 = syscall.GetErrno()
  585. return
  586. }
  587. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  588. func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
  589. r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask)))
  590. e1 = syscall.GetErrno()
  591. return
  592. }
  593. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  594. func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
  595. r1 = uintptr(C.setregid(C.int(rgid), C.int(egid)))
  596. e1 = syscall.GetErrno()
  597. return
  598. }
  599. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  600. func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
  601. r1 = uintptr(C.setreuid(C.int(ruid), C.int(euid)))
  602. e1 = syscall.GetErrno()
  603. return
  604. }
  605. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  606. func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
  607. r1 = uintptr(C.shutdown(C.int(fd), C.int(how)))
  608. e1 = syscall.GetErrno()
  609. return
  610. }
  611. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  612. func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
  613. r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags)))
  614. e1 = syscall.GetErrno()
  615. return
  616. }
  617. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  618. func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
  619. r1 = uintptr(C.stat(C.uintptr_t(_p0), C.uintptr_t(statptr)))
  620. e1 = syscall.GetErrno()
  621. return
  622. }
  623. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  624. func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
  625. r1 = uintptr(C.statfs(C.uintptr_t(_p0), C.uintptr_t(buf)))
  626. e1 = syscall.GetErrno()
  627. return
  628. }
  629. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  630. func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
  631. r1 = uintptr(C.truncate(C.uintptr_t(_p0), C.longlong(length)))
  632. e1 = syscall.GetErrno()
  633. return
  634. }
  635. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  636. func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  637. r1 = uintptr(C.bind(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
  638. e1 = syscall.GetErrno()
  639. return
  640. }
  641. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  642. func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  643. r1 = uintptr(C.connect(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
  644. e1 = syscall.GetErrno()
  645. return
  646. }
  647. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  648. func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
  649. r1 = uintptr(C.getgroups(C.int(n), C.uintptr_t(list)))
  650. e1 = syscall.GetErrno()
  651. return
  652. }
  653. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  654. func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
  655. r1 = uintptr(C.setgroups(C.int(n), C.uintptr_t(list)))
  656. e1 = syscall.GetErrno()
  657. return
  658. }
  659. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  660. func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
  661. r1 = uintptr(C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
  662. e1 = syscall.GetErrno()
  663. return
  664. }
  665. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  666. func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
  667. r1 = uintptr(C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
  668. e1 = syscall.GetErrno()
  669. return
  670. }
  671. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  672. func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
  673. r1 = uintptr(C.socket(C.int(domain), C.int(typ), C.int(proto)))
  674. e1 = syscall.GetErrno()
  675. return
  676. }
  677. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  678. func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
  679. r1 = uintptr(C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(fd)))
  680. e1 = syscall.GetErrno()
  681. return
  682. }
  683. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  684. func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  685. r1 = uintptr(C.getpeername(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
  686. e1 = syscall.GetErrno()
  687. return
  688. }
  689. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  690. func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  691. r1 = uintptr(C.getsockname(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
  692. e1 = syscall.GetErrno()
  693. return
  694. }
  695. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  696. func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
  697. r1 = uintptr(C.recvfrom(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(from), C.uintptr_t(fromlen)))
  698. e1 = syscall.GetErrno()
  699. return
  700. }
  701. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  702. func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  703. r1 = uintptr(C.sendto(C.int(s), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(to), C.uintptr_t(addrlen)))
  704. e1 = syscall.GetErrno()
  705. return
  706. }
  707. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  708. func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
  709. r1 = uintptr(C.nrecvmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
  710. e1 = syscall.GetErrno()
  711. return
  712. }
  713. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  714. func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
  715. r1 = uintptr(C.nsendmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
  716. e1 = syscall.GetErrno()
  717. return
  718. }
  719. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  720. func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
  721. r1 = uintptr(C.munmap(C.uintptr_t(addr), C.uintptr_t(length)))
  722. e1 = syscall.GetErrno()
  723. return
  724. }
  725. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  726. func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
  727. r1 = uintptr(C.madvise(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(advice)))
  728. e1 = syscall.GetErrno()
  729. return
  730. }
  731. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  732. func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
  733. r1 = uintptr(C.mprotect(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(prot)))
  734. e1 = syscall.GetErrno()
  735. return
  736. }
  737. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  738. func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  739. r1 = uintptr(C.mlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
  740. e1 = syscall.GetErrno()
  741. return
  742. }
  743. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  744. func callmlockall(flags int) (r1 uintptr, e1 Errno) {
  745. r1 = uintptr(C.mlockall(C.int(flags)))
  746. e1 = syscall.GetErrno()
  747. return
  748. }
  749. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  750. func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
  751. r1 = uintptr(C.msync(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags)))
  752. e1 = syscall.GetErrno()
  753. return
  754. }
  755. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  756. func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  757. r1 = uintptr(C.munlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
  758. e1 = syscall.GetErrno()
  759. return
  760. }
  761. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  762. func callmunlockall() (r1 uintptr, e1 Errno) {
  763. r1 = uintptr(C.munlockall())
  764. e1 = syscall.GetErrno()
  765. return
  766. }
  767. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  768. func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
  769. r1 = uintptr(C.pipe(C.uintptr_t(p)))
  770. e1 = syscall.GetErrno()
  771. return
  772. }
  773. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  774. func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
  775. r1 = uintptr(C.poll(C.uintptr_t(fds), C.int(nfds), C.int(timeout)))
  776. e1 = syscall.GetErrno()
  777. return
  778. }
  779. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  780. func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
  781. r1 = uintptr(C.gettimeofday(C.uintptr_t(tv), C.uintptr_t(tzp)))
  782. e1 = syscall.GetErrno()
  783. return
  784. }
  785. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  786. func calltime(t uintptr) (r1 uintptr, e1 Errno) {
  787. r1 = uintptr(C.time(C.uintptr_t(t)))
  788. e1 = syscall.GetErrno()
  789. return
  790. }
  791. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  792. func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
  793. r1 = uintptr(C.utime(C.uintptr_t(_p0), C.uintptr_t(buf)))
  794. e1 = syscall.GetErrno()
  795. return
  796. }
  797. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  798. func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
  799. r1 = uintptr(C.getsystemcfg(C.int(label)))
  800. e1 = syscall.GetErrno()
  801. return
  802. }
  803. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  804. func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
  805. r1 = uintptr(C.umount(C.uintptr_t(_p0)))
  806. e1 = syscall.GetErrno()
  807. return
  808. }
  809. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  810. func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
  811. r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim)))
  812. e1 = syscall.GetErrno()
  813. return
  814. }
  815. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  816. func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
  817. r1 = uintptr(C.setrlimit(C.int(resource), C.uintptr_t(rlim)))
  818. e1 = syscall.GetErrno()
  819. return
  820. }
  821. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  822. func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
  823. r1 = uintptr(C.lseek(C.int(fd), C.longlong(offset), C.int(whence)))
  824. e1 = syscall.GetErrno()
  825. return
  826. }
  827. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  828. func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
  829. r1 = uintptr(C.mmap64(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset)))
  830. e1 = syscall.GetErrno()
  831. return
  832. }