zsyscall_aix_ppc64_gc.go 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192
  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. import (
  7. "unsafe"
  8. )
  9. //go:cgo_import_dynamic libc_utimes utimes "libc.a/shr_64.o"
  10. //go:cgo_import_dynamic libc_utimensat utimensat "libc.a/shr_64.o"
  11. //go:cgo_import_dynamic libc_getcwd getcwd "libc.a/shr_64.o"
  12. //go:cgo_import_dynamic libc_accept accept "libc.a/shr_64.o"
  13. //go:cgo_import_dynamic libc_getdirent getdirent "libc.a/shr_64.o"
  14. //go:cgo_import_dynamic libc_wait4 wait4 "libc.a/shr_64.o"
  15. //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
  16. //go:cgo_import_dynamic libc_fcntl fcntl "libc.a/shr_64.o"
  17. //go:cgo_import_dynamic libc_acct acct "libc.a/shr_64.o"
  18. //go:cgo_import_dynamic libc_chdir chdir "libc.a/shr_64.o"
  19. //go:cgo_import_dynamic libc_chroot chroot "libc.a/shr_64.o"
  20. //go:cgo_import_dynamic libc_close close "libc.a/shr_64.o"
  21. //go:cgo_import_dynamic libc_dup dup "libc.a/shr_64.o"
  22. //go:cgo_import_dynamic libc_exit exit "libc.a/shr_64.o"
  23. //go:cgo_import_dynamic libc_faccessat faccessat "libc.a/shr_64.o"
  24. //go:cgo_import_dynamic libc_fchdir fchdir "libc.a/shr_64.o"
  25. //go:cgo_import_dynamic libc_fchmod fchmod "libc.a/shr_64.o"
  26. //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.a/shr_64.o"
  27. //go:cgo_import_dynamic libc_fchownat fchownat "libc.a/shr_64.o"
  28. //go:cgo_import_dynamic libc_fdatasync fdatasync "libc.a/shr_64.o"
  29. //go:cgo_import_dynamic libc_fsync fsync "libc.a/shr_64.o"
  30. //go:cgo_import_dynamic libc_getpgid getpgid "libc.a/shr_64.o"
  31. //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.a/shr_64.o"
  32. //go:cgo_import_dynamic libc_getpid getpid "libc.a/shr_64.o"
  33. //go:cgo_import_dynamic libc_getppid getppid "libc.a/shr_64.o"
  34. //go:cgo_import_dynamic libc_getpriority getpriority "libc.a/shr_64.o"
  35. //go:cgo_import_dynamic libc_getrusage getrusage "libc.a/shr_64.o"
  36. //go:cgo_import_dynamic libc_getsid getsid "libc.a/shr_64.o"
  37. //go:cgo_import_dynamic libc_kill kill "libc.a/shr_64.o"
  38. //go:cgo_import_dynamic libc_syslog syslog "libc.a/shr_64.o"
  39. //go:cgo_import_dynamic libc_mkdir mkdir "libc.a/shr_64.o"
  40. //go:cgo_import_dynamic libc_mkdirat mkdirat "libc.a/shr_64.o"
  41. //go:cgo_import_dynamic libc_mkfifo mkfifo "libc.a/shr_64.o"
  42. //go:cgo_import_dynamic libc_mknod mknod "libc.a/shr_64.o"
  43. //go:cgo_import_dynamic libc_mknodat mknodat "libc.a/shr_64.o"
  44. //go:cgo_import_dynamic libc_nanosleep nanosleep "libc.a/shr_64.o"
  45. //go:cgo_import_dynamic libc_open64 open64 "libc.a/shr_64.o"
  46. //go:cgo_import_dynamic libc_openat openat "libc.a/shr_64.o"
  47. //go:cgo_import_dynamic libc_read read "libc.a/shr_64.o"
  48. //go:cgo_import_dynamic libc_readlink readlink "libc.a/shr_64.o"
  49. //go:cgo_import_dynamic libc_renameat renameat "libc.a/shr_64.o"
  50. //go:cgo_import_dynamic libc_setdomainname setdomainname "libc.a/shr_64.o"
  51. //go:cgo_import_dynamic libc_sethostname sethostname "libc.a/shr_64.o"
  52. //go:cgo_import_dynamic libc_setpgid setpgid "libc.a/shr_64.o"
  53. //go:cgo_import_dynamic libc_setsid setsid "libc.a/shr_64.o"
  54. //go:cgo_import_dynamic libc_settimeofday settimeofday "libc.a/shr_64.o"
  55. //go:cgo_import_dynamic libc_setuid setuid "libc.a/shr_64.o"
  56. //go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
  57. //go:cgo_import_dynamic libc_setpriority setpriority "libc.a/shr_64.o"
  58. //go:cgo_import_dynamic libc_statx statx "libc.a/shr_64.o"
  59. //go:cgo_import_dynamic libc_sync sync "libc.a/shr_64.o"
  60. //go:cgo_import_dynamic libc_times times "libc.a/shr_64.o"
  61. //go:cgo_import_dynamic libc_umask umask "libc.a/shr_64.o"
  62. //go:cgo_import_dynamic libc_uname uname "libc.a/shr_64.o"
  63. //go:cgo_import_dynamic libc_unlink unlink "libc.a/shr_64.o"
  64. //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
  65. //go:cgo_import_dynamic libc_ustat ustat "libc.a/shr_64.o"
  66. //go:cgo_import_dynamic libc_write write "libc.a/shr_64.o"
  67. //go:cgo_import_dynamic libc_dup2 dup2 "libc.a/shr_64.o"
  68. //go:cgo_import_dynamic libc_posix_fadvise64 posix_fadvise64 "libc.a/shr_64.o"
  69. //go:cgo_import_dynamic libc_fchown fchown "libc.a/shr_64.o"
  70. //go:cgo_import_dynamic libc_fstat fstat "libc.a/shr_64.o"
  71. //go:cgo_import_dynamic libc_fstatat fstatat "libc.a/shr_64.o"
  72. //go:cgo_import_dynamic libc_fstatfs fstatfs "libc.a/shr_64.o"
  73. //go:cgo_import_dynamic libc_ftruncate ftruncate "libc.a/shr_64.o"
  74. //go:cgo_import_dynamic libc_getegid getegid "libc.a/shr_64.o"
  75. //go:cgo_import_dynamic libc_geteuid geteuid "libc.a/shr_64.o"
  76. //go:cgo_import_dynamic libc_getgid getgid "libc.a/shr_64.o"
  77. //go:cgo_import_dynamic libc_getuid getuid "libc.a/shr_64.o"
  78. //go:cgo_import_dynamic libc_lchown lchown "libc.a/shr_64.o"
  79. //go:cgo_import_dynamic libc_listen listen "libc.a/shr_64.o"
  80. //go:cgo_import_dynamic libc_lstat lstat "libc.a/shr_64.o"
  81. //go:cgo_import_dynamic libc_pause pause "libc.a/shr_64.o"
  82. //go:cgo_import_dynamic libc_pread64 pread64 "libc.a/shr_64.o"
  83. //go:cgo_import_dynamic libc_pwrite64 pwrite64 "libc.a/shr_64.o"
  84. //go:cgo_import_dynamic libc_select select "libc.a/shr_64.o"
  85. //go:cgo_import_dynamic libc_pselect pselect "libc.a/shr_64.o"
  86. //go:cgo_import_dynamic libc_setregid setregid "libc.a/shr_64.o"
  87. //go:cgo_import_dynamic libc_setreuid setreuid "libc.a/shr_64.o"
  88. //go:cgo_import_dynamic libc_shutdown shutdown "libc.a/shr_64.o"
  89. //go:cgo_import_dynamic libc_splice splice "libc.a/shr_64.o"
  90. //go:cgo_import_dynamic libc_stat stat "libc.a/shr_64.o"
  91. //go:cgo_import_dynamic libc_statfs statfs "libc.a/shr_64.o"
  92. //go:cgo_import_dynamic libc_truncate truncate "libc.a/shr_64.o"
  93. //go:cgo_import_dynamic libc_bind bind "libc.a/shr_64.o"
  94. //go:cgo_import_dynamic libc_connect connect "libc.a/shr_64.o"
  95. //go:cgo_import_dynamic libc_getgroups getgroups "libc.a/shr_64.o"
  96. //go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
  97. //go:cgo_import_dynamic libc_getsockopt getsockopt "libc.a/shr_64.o"
  98. //go:cgo_import_dynamic libc_setsockopt setsockopt "libc.a/shr_64.o"
  99. //go:cgo_import_dynamic libc_socket socket "libc.a/shr_64.o"
  100. //go:cgo_import_dynamic libc_socketpair socketpair "libc.a/shr_64.o"
  101. //go:cgo_import_dynamic libc_getpeername getpeername "libc.a/shr_64.o"
  102. //go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o"
  103. //go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
  104. //go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o"
  105. //go:cgo_import_dynamic libc_nrecvmsg nrecvmsg "libc.a/shr_64.o"
  106. //go:cgo_import_dynamic libc_nsendmsg nsendmsg "libc.a/shr_64.o"
  107. //go:cgo_import_dynamic libc_munmap munmap "libc.a/shr_64.o"
  108. //go:cgo_import_dynamic libc_madvise madvise "libc.a/shr_64.o"
  109. //go:cgo_import_dynamic libc_mprotect mprotect "libc.a/shr_64.o"
  110. //go:cgo_import_dynamic libc_mlock mlock "libc.a/shr_64.o"
  111. //go:cgo_import_dynamic libc_mlockall mlockall "libc.a/shr_64.o"
  112. //go:cgo_import_dynamic libc_msync msync "libc.a/shr_64.o"
  113. //go:cgo_import_dynamic libc_munlock munlock "libc.a/shr_64.o"
  114. //go:cgo_import_dynamic libc_munlockall munlockall "libc.a/shr_64.o"
  115. //go:cgo_import_dynamic libc_pipe pipe "libc.a/shr_64.o"
  116. //go:cgo_import_dynamic libc_poll poll "libc.a/shr_64.o"
  117. //go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.a/shr_64.o"
  118. //go:cgo_import_dynamic libc_time time "libc.a/shr_64.o"
  119. //go:cgo_import_dynamic libc_utime utime "libc.a/shr_64.o"
  120. //go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o"
  121. //go:cgo_import_dynamic libc_umount umount "libc.a/shr_64.o"
  122. //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.a/shr_64.o"
  123. //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
  124. //go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
  125. //go:cgo_import_dynamic libc_mmap64 mmap64 "libc.a/shr_64.o"
  126. //go:linkname libc_utimes libc_utimes
  127. //go:linkname libc_utimensat libc_utimensat
  128. //go:linkname libc_getcwd libc_getcwd
  129. //go:linkname libc_accept libc_accept
  130. //go:linkname libc_getdirent libc_getdirent
  131. //go:linkname libc_wait4 libc_wait4
  132. //go:linkname libc_ioctl libc_ioctl
  133. //go:linkname libc_fcntl libc_fcntl
  134. //go:linkname libc_acct libc_acct
  135. //go:linkname libc_chdir libc_chdir
  136. //go:linkname libc_chroot libc_chroot
  137. //go:linkname libc_close libc_close
  138. //go:linkname libc_dup libc_dup
  139. //go:linkname libc_exit libc_exit
  140. //go:linkname libc_faccessat libc_faccessat
  141. //go:linkname libc_fchdir libc_fchdir
  142. //go:linkname libc_fchmod libc_fchmod
  143. //go:linkname libc_fchmodat libc_fchmodat
  144. //go:linkname libc_fchownat libc_fchownat
  145. //go:linkname libc_fdatasync libc_fdatasync
  146. //go:linkname libc_fsync libc_fsync
  147. //go:linkname libc_getpgid libc_getpgid
  148. //go:linkname libc_getpgrp libc_getpgrp
  149. //go:linkname libc_getpid libc_getpid
  150. //go:linkname libc_getppid libc_getppid
  151. //go:linkname libc_getpriority libc_getpriority
  152. //go:linkname libc_getrusage libc_getrusage
  153. //go:linkname libc_getsid libc_getsid
  154. //go:linkname libc_kill libc_kill
  155. //go:linkname libc_syslog libc_syslog
  156. //go:linkname libc_mkdir libc_mkdir
  157. //go:linkname libc_mkdirat libc_mkdirat
  158. //go:linkname libc_mkfifo libc_mkfifo
  159. //go:linkname libc_mknod libc_mknod
  160. //go:linkname libc_mknodat libc_mknodat
  161. //go:linkname libc_nanosleep libc_nanosleep
  162. //go:linkname libc_open64 libc_open64
  163. //go:linkname libc_openat libc_openat
  164. //go:linkname libc_read libc_read
  165. //go:linkname libc_readlink libc_readlink
  166. //go:linkname libc_renameat libc_renameat
  167. //go:linkname libc_setdomainname libc_setdomainname
  168. //go:linkname libc_sethostname libc_sethostname
  169. //go:linkname libc_setpgid libc_setpgid
  170. //go:linkname libc_setsid libc_setsid
  171. //go:linkname libc_settimeofday libc_settimeofday
  172. //go:linkname libc_setuid libc_setuid
  173. //go:linkname libc_setgid libc_setgid
  174. //go:linkname libc_setpriority libc_setpriority
  175. //go:linkname libc_statx libc_statx
  176. //go:linkname libc_sync libc_sync
  177. //go:linkname libc_times libc_times
  178. //go:linkname libc_umask libc_umask
  179. //go:linkname libc_uname libc_uname
  180. //go:linkname libc_unlink libc_unlink
  181. //go:linkname libc_unlinkat libc_unlinkat
  182. //go:linkname libc_ustat libc_ustat
  183. //go:linkname libc_write libc_write
  184. //go:linkname libc_dup2 libc_dup2
  185. //go:linkname libc_posix_fadvise64 libc_posix_fadvise64
  186. //go:linkname libc_fchown libc_fchown
  187. //go:linkname libc_fstat libc_fstat
  188. //go:linkname libc_fstatat libc_fstatat
  189. //go:linkname libc_fstatfs libc_fstatfs
  190. //go:linkname libc_ftruncate libc_ftruncate
  191. //go:linkname libc_getegid libc_getegid
  192. //go:linkname libc_geteuid libc_geteuid
  193. //go:linkname libc_getgid libc_getgid
  194. //go:linkname libc_getuid libc_getuid
  195. //go:linkname libc_lchown libc_lchown
  196. //go:linkname libc_listen libc_listen
  197. //go:linkname libc_lstat libc_lstat
  198. //go:linkname libc_pause libc_pause
  199. //go:linkname libc_pread64 libc_pread64
  200. //go:linkname libc_pwrite64 libc_pwrite64
  201. //go:linkname libc_select libc_select
  202. //go:linkname libc_pselect libc_pselect
  203. //go:linkname libc_setregid libc_setregid
  204. //go:linkname libc_setreuid libc_setreuid
  205. //go:linkname libc_shutdown libc_shutdown
  206. //go:linkname libc_splice libc_splice
  207. //go:linkname libc_stat libc_stat
  208. //go:linkname libc_statfs libc_statfs
  209. //go:linkname libc_truncate libc_truncate
  210. //go:linkname libc_bind libc_bind
  211. //go:linkname libc_connect libc_connect
  212. //go:linkname libc_getgroups libc_getgroups
  213. //go:linkname libc_setgroups libc_setgroups
  214. //go:linkname libc_getsockopt libc_getsockopt
  215. //go:linkname libc_setsockopt libc_setsockopt
  216. //go:linkname libc_socket libc_socket
  217. //go:linkname libc_socketpair libc_socketpair
  218. //go:linkname libc_getpeername libc_getpeername
  219. //go:linkname libc_getsockname libc_getsockname
  220. //go:linkname libc_recvfrom libc_recvfrom
  221. //go:linkname libc_sendto libc_sendto
  222. //go:linkname libc_nrecvmsg libc_nrecvmsg
  223. //go:linkname libc_nsendmsg libc_nsendmsg
  224. //go:linkname libc_munmap libc_munmap
  225. //go:linkname libc_madvise libc_madvise
  226. //go:linkname libc_mprotect libc_mprotect
  227. //go:linkname libc_mlock libc_mlock
  228. //go:linkname libc_mlockall libc_mlockall
  229. //go:linkname libc_msync libc_msync
  230. //go:linkname libc_munlock libc_munlock
  231. //go:linkname libc_munlockall libc_munlockall
  232. //go:linkname libc_pipe libc_pipe
  233. //go:linkname libc_poll libc_poll
  234. //go:linkname libc_gettimeofday libc_gettimeofday
  235. //go:linkname libc_time libc_time
  236. //go:linkname libc_utime libc_utime
  237. //go:linkname libc_getsystemcfg libc_getsystemcfg
  238. //go:linkname libc_umount libc_umount
  239. //go:linkname libc_getrlimit libc_getrlimit
  240. //go:linkname libc_setrlimit libc_setrlimit
  241. //go:linkname libc_lseek libc_lseek
  242. //go:linkname libc_mmap64 libc_mmap64
  243. type syscallFunc uintptr
  244. var (
  245. libc_utimes,
  246. libc_utimensat,
  247. libc_getcwd,
  248. libc_accept,
  249. libc_getdirent,
  250. libc_wait4,
  251. libc_ioctl,
  252. libc_fcntl,
  253. libc_acct,
  254. libc_chdir,
  255. libc_chroot,
  256. libc_close,
  257. libc_dup,
  258. libc_exit,
  259. libc_faccessat,
  260. libc_fchdir,
  261. libc_fchmod,
  262. libc_fchmodat,
  263. libc_fchownat,
  264. libc_fdatasync,
  265. libc_fsync,
  266. libc_getpgid,
  267. libc_getpgrp,
  268. libc_getpid,
  269. libc_getppid,
  270. libc_getpriority,
  271. libc_getrusage,
  272. libc_getsid,
  273. libc_kill,
  274. libc_syslog,
  275. libc_mkdir,
  276. libc_mkdirat,
  277. libc_mkfifo,
  278. libc_mknod,
  279. libc_mknodat,
  280. libc_nanosleep,
  281. libc_open64,
  282. libc_openat,
  283. libc_read,
  284. libc_readlink,
  285. libc_renameat,
  286. libc_setdomainname,
  287. libc_sethostname,
  288. libc_setpgid,
  289. libc_setsid,
  290. libc_settimeofday,
  291. libc_setuid,
  292. libc_setgid,
  293. libc_setpriority,
  294. libc_statx,
  295. libc_sync,
  296. libc_times,
  297. libc_umask,
  298. libc_uname,
  299. libc_unlink,
  300. libc_unlinkat,
  301. libc_ustat,
  302. libc_write,
  303. libc_dup2,
  304. libc_posix_fadvise64,
  305. libc_fchown,
  306. libc_fstat,
  307. libc_fstatat,
  308. libc_fstatfs,
  309. libc_ftruncate,
  310. libc_getegid,
  311. libc_geteuid,
  312. libc_getgid,
  313. libc_getuid,
  314. libc_lchown,
  315. libc_listen,
  316. libc_lstat,
  317. libc_pause,
  318. libc_pread64,
  319. libc_pwrite64,
  320. libc_select,
  321. libc_pselect,
  322. libc_setregid,
  323. libc_setreuid,
  324. libc_shutdown,
  325. libc_splice,
  326. libc_stat,
  327. libc_statfs,
  328. libc_truncate,
  329. libc_bind,
  330. libc_connect,
  331. libc_getgroups,
  332. libc_setgroups,
  333. libc_getsockopt,
  334. libc_setsockopt,
  335. libc_socket,
  336. libc_socketpair,
  337. libc_getpeername,
  338. libc_getsockname,
  339. libc_recvfrom,
  340. libc_sendto,
  341. libc_nrecvmsg,
  342. libc_nsendmsg,
  343. libc_munmap,
  344. libc_madvise,
  345. libc_mprotect,
  346. libc_mlock,
  347. libc_mlockall,
  348. libc_msync,
  349. libc_munlock,
  350. libc_munlockall,
  351. libc_pipe,
  352. libc_poll,
  353. libc_gettimeofday,
  354. libc_time,
  355. libc_utime,
  356. libc_getsystemcfg,
  357. libc_umount,
  358. libc_getrlimit,
  359. libc_setrlimit,
  360. libc_lseek,
  361. libc_mmap64 syscallFunc
  362. )
  363. // Implemented in runtime/syscall_aix.go.
  364. func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
  365. func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
  366. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  367. func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
  368. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimes)), 2, _p0, times, 0, 0, 0, 0)
  369. return
  370. }
  371. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  372. func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
  373. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimensat)), 4, uintptr(dirfd), _p0, times, uintptr(flag), 0, 0)
  374. return
  375. }
  376. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  377. func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  378. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getcwd)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
  379. return
  380. }
  381. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  382. func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  383. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_accept)), 3, uintptr(s), rsa, addrlen, 0, 0, 0)
  384. return
  385. }
  386. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  387. func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  388. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getdirent)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
  389. return
  390. }
  391. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  392. func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
  393. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_wait4)), 4, uintptr(pid), status, uintptr(options), rusage, 0, 0)
  394. return
  395. }
  396. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  397. func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
  398. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ioctl)), 3, uintptr(fd), uintptr(req), arg, 0, 0, 0)
  399. return
  400. }
  401. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  402. func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
  403. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, fd, uintptr(cmd), arg, 0, 0, 0)
  404. return
  405. }
  406. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  407. func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
  408. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_acct)), 1, _p0, 0, 0, 0, 0, 0)
  409. return
  410. }
  411. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  412. func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
  413. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chdir)), 1, _p0, 0, 0, 0, 0, 0)
  414. return
  415. }
  416. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  417. func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
  418. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chroot)), 1, _p0, 0, 0, 0, 0, 0)
  419. return
  420. }
  421. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  422. func callclose(fd int) (r1 uintptr, e1 Errno) {
  423. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_close)), 1, uintptr(fd), 0, 0, 0, 0, 0)
  424. return
  425. }
  426. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  427. func calldup(oldfd int) (r1 uintptr, e1 Errno) {
  428. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_dup)), 1, uintptr(oldfd), 0, 0, 0, 0, 0)
  429. return
  430. }
  431. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  432. func callexit(code int) (r1 uintptr, e1 Errno) {
  433. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_exit)), 1, uintptr(code), 0, 0, 0, 0, 0)
  434. return
  435. }
  436. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  437. func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
  438. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_faccessat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(flags), 0, 0)
  439. return
  440. }
  441. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  442. func callfchdir(fd int) (r1 uintptr, e1 Errno) {
  443. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
  444. return
  445. }
  446. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  447. func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
  448. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
  449. return
  450. }
  451. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  452. func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
  453. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchmodat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(flags), 0, 0)
  454. return
  455. }
  456. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  457. func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
  458. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchownat)), 5, uintptr(dirfd), _p0, uintptr(uid), uintptr(gid), uintptr(flags), 0)
  459. return
  460. }
  461. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  462. func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
  463. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
  464. return
  465. }
  466. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  467. func callfsync(fd int) (r1 uintptr, e1 Errno) {
  468. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
  469. return
  470. }
  471. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  472. func callgetpgid(pid int) (r1 uintptr, e1 Errno) {
  473. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
  474. return
  475. }
  476. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  477. func callgetpgrp() (r1 uintptr, e1 Errno) {
  478. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getpgrp)), 0, 0, 0, 0, 0, 0, 0)
  479. return
  480. }
  481. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  482. func callgetpid() (r1 uintptr, e1 Errno) {
  483. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpid)), 0, 0, 0, 0, 0, 0, 0)
  484. return
  485. }
  486. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  487. func callgetppid() (r1 uintptr, e1 Errno) {
  488. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getppid)), 0, 0, 0, 0, 0, 0, 0)
  489. return
  490. }
  491. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  492. func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
  493. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
  494. return
  495. }
  496. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  497. func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
  498. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrusage)), 2, uintptr(who), rusage, 0, 0, 0, 0)
  499. return
  500. }
  501. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  502. func callgetsid(pid int) (r1 uintptr, e1 Errno) {
  503. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getsid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
  504. return
  505. }
  506. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  507. func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
  508. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_kill)), 2, uintptr(pid), uintptr(sig), 0, 0, 0, 0)
  509. return
  510. }
  511. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  512. func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  513. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_syslog)), 3, uintptr(typ), _p0, uintptr(_lenp0), 0, 0, 0)
  514. return
  515. }
  516. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  517. func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
  518. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkdir)), 3, uintptr(dirfd), _p0, uintptr(mode), 0, 0, 0)
  519. return
  520. }
  521. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  522. func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
  523. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkdirat)), 3, uintptr(dirfd), _p0, uintptr(mode), 0, 0, 0)
  524. return
  525. }
  526. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  527. func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
  528. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkfifo)), 2, _p0, uintptr(mode), 0, 0, 0, 0)
  529. return
  530. }
  531. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  532. func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
  533. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mknod)), 3, _p0, uintptr(mode), uintptr(dev), 0, 0, 0)
  534. return
  535. }
  536. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  537. func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
  538. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mknodat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(dev), 0, 0)
  539. return
  540. }
  541. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  542. func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
  543. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nanosleep)), 2, time, leftover, 0, 0, 0, 0)
  544. return
  545. }
  546. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  547. func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
  548. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_open64)), 3, _p0, uintptr(mode), uintptr(perm), 0, 0, 0)
  549. return
  550. }
  551. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  552. func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
  553. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_openat)), 4, uintptr(dirfd), _p0, uintptr(flags), uintptr(mode), 0, 0)
  554. return
  555. }
  556. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  557. func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  558. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_read)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
  559. return
  560. }
  561. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  562. func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
  563. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_readlink)), 3, _p0, _p1, uintptr(_lenp1), 0, 0, 0)
  564. return
  565. }
  566. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  567. func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
  568. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_renameat)), 4, uintptr(olddirfd), _p0, uintptr(newdirfd), _p1, 0, 0)
  569. return
  570. }
  571. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  572. func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  573. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setdomainname)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
  574. return
  575. }
  576. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  577. func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  578. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sethostname)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
  579. return
  580. }
  581. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  582. func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
  583. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
  584. return
  585. }
  586. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  587. func callsetsid() (r1 uintptr, e1 Errno) {
  588. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setsid)), 0, 0, 0, 0, 0, 0, 0)
  589. return
  590. }
  591. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  592. func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
  593. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_settimeofday)), 1, tv, 0, 0, 0, 0, 0)
  594. return
  595. }
  596. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  597. func callsetuid(uid int) (r1 uintptr, e1 Errno) {
  598. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
  599. return
  600. }
  601. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  602. func callsetgid(uid int) (r1 uintptr, e1 Errno) {
  603. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setgid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
  604. return
  605. }
  606. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  607. func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
  608. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
  609. return
  610. }
  611. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  612. func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
  613. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_statx)), 5, uintptr(dirfd), _p0, uintptr(flags), uintptr(mask), stat, 0)
  614. return
  615. }
  616. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  617. func callsync() (r1 uintptr, e1 Errno) {
  618. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sync)), 0, 0, 0, 0, 0, 0, 0)
  619. return
  620. }
  621. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  622. func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
  623. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_times)), 1, tms, 0, 0, 0, 0, 0)
  624. return
  625. }
  626. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  627. func callumask(mask int) (r1 uintptr, e1 Errno) {
  628. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_umask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
  629. return
  630. }
  631. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  632. func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
  633. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_uname)), 1, buf, 0, 0, 0, 0, 0)
  634. return
  635. }
  636. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  637. func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
  638. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_unlink)), 1, _p0, 0, 0, 0, 0, 0)
  639. return
  640. }
  641. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  642. func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
  643. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_unlinkat)), 3, uintptr(dirfd), _p0, uintptr(flags), 0, 0, 0)
  644. return
  645. }
  646. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  647. func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
  648. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ustat)), 2, uintptr(dev), ubuf, 0, 0, 0, 0)
  649. return
  650. }
  651. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  652. func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  653. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_write)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
  654. return
  655. }
  656. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  657. func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
  658. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_dup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
  659. return
  660. }
  661. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  662. func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
  663. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_posix_fadvise64)), 4, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
  664. return
  665. }
  666. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  667. func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
  668. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
  669. return
  670. }
  671. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  672. func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
  673. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstat)), 2, uintptr(fd), stat, 0, 0, 0, 0)
  674. return
  675. }
  676. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  677. func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
  678. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstatat)), 4, uintptr(dirfd), _p0, stat, uintptr(flags), 0, 0)
  679. return
  680. }
  681. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  682. func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
  683. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstatfs)), 2, uintptr(fd), buf, 0, 0, 0, 0)
  684. return
  685. }
  686. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  687. func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
  688. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ftruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
  689. return
  690. }
  691. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  692. func callgetegid() (r1 uintptr, e1 Errno) {
  693. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getegid)), 0, 0, 0, 0, 0, 0, 0)
  694. return
  695. }
  696. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  697. func callgeteuid() (r1 uintptr, e1 Errno) {
  698. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_geteuid)), 0, 0, 0, 0, 0, 0, 0)
  699. return
  700. }
  701. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  702. func callgetgid() (r1 uintptr, e1 Errno) {
  703. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getgid)), 0, 0, 0, 0, 0, 0, 0)
  704. return
  705. }
  706. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  707. func callgetuid() (r1 uintptr, e1 Errno) {
  708. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getuid)), 0, 0, 0, 0, 0, 0, 0)
  709. return
  710. }
  711. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  712. func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
  713. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lchown)), 3, _p0, uintptr(uid), uintptr(gid), 0, 0, 0)
  714. return
  715. }
  716. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  717. func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
  718. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_listen)), 2, uintptr(s), uintptr(n), 0, 0, 0, 0)
  719. return
  720. }
  721. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  722. func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
  723. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lstat)), 2, _p0, stat, 0, 0, 0, 0)
  724. return
  725. }
  726. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  727. func callpause() (r1 uintptr, e1 Errno) {
  728. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pause)), 0, 0, 0, 0, 0, 0, 0)
  729. return
  730. }
  731. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  732. func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
  733. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pread64)), 4, uintptr(fd), _p0, uintptr(_lenp0), uintptr(offset), 0, 0)
  734. return
  735. }
  736. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  737. func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
  738. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pwrite64)), 4, uintptr(fd), _p0, uintptr(_lenp0), uintptr(offset), 0, 0)
  739. return
  740. }
  741. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  742. func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
  743. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_select)), 5, uintptr(nfd), r, w, e, timeout, 0)
  744. return
  745. }
  746. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  747. func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
  748. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pselect)), 6, uintptr(nfd), r, w, e, timeout, sigmask)
  749. return
  750. }
  751. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  752. func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
  753. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
  754. return
  755. }
  756. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  757. func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
  758. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
  759. return
  760. }
  761. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  762. func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
  763. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_shutdown)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
  764. return
  765. }
  766. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  767. func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
  768. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_splice)), 6, uintptr(rfd), roff, uintptr(wfd), woff, uintptr(len), uintptr(flags))
  769. return
  770. }
  771. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  772. func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
  773. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_stat)), 2, _p0, statptr, 0, 0, 0, 0)
  774. return
  775. }
  776. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  777. func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
  778. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_statfs)), 2, _p0, buf, 0, 0, 0, 0)
  779. return
  780. }
  781. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  782. func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
  783. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_truncate)), 2, _p0, uintptr(length), 0, 0, 0, 0)
  784. return
  785. }
  786. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  787. func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  788. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_bind)), 3, uintptr(s), addr, addrlen, 0, 0, 0)
  789. return
  790. }
  791. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  792. func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  793. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_connect)), 3, uintptr(s), addr, addrlen, 0, 0, 0)
  794. return
  795. }
  796. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  797. func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
  798. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getgroups)), 2, uintptr(n), list, 0, 0, 0, 0)
  799. return
  800. }
  801. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  802. func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
  803. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setgroups)), 2, uintptr(n), list, 0, 0, 0, 0)
  804. return
  805. }
  806. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  807. func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
  808. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), val, vallen, 0)
  809. return
  810. }
  811. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  812. func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
  813. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), val, vallen, 0)
  814. return
  815. }
  816. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  817. func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
  818. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
  819. return
  820. }
  821. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  822. func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
  823. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), fd, 0, 0)
  824. return
  825. }
  826. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  827. func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  828. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpeername)), 3, uintptr(fd), rsa, addrlen, 0, 0, 0)
  829. return
  830. }
  831. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  832. func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  833. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getsockname)), 3, uintptr(fd), rsa, addrlen, 0, 0, 0)
  834. return
  835. }
  836. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  837. func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
  838. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_recvfrom)), 6, uintptr(fd), _p0, uintptr(_lenp0), uintptr(flags), from, fromlen)
  839. return
  840. }
  841. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  842. func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
  843. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sendto)), 6, uintptr(s), _p0, uintptr(_lenp0), uintptr(flags), to, addrlen)
  844. return
  845. }
  846. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  847. func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
  848. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nrecvmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
  849. return
  850. }
  851. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  852. func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
  853. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nsendmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
  854. return
  855. }
  856. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  857. func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
  858. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munmap)), 2, addr, length, 0, 0, 0, 0)
  859. return
  860. }
  861. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  862. func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
  863. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_madvise)), 3, _p0, uintptr(_lenp0), uintptr(advice), 0, 0, 0)
  864. return
  865. }
  866. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  867. func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
  868. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mprotect)), 3, _p0, uintptr(_lenp0), uintptr(prot), 0, 0, 0)
  869. return
  870. }
  871. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  872. func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  873. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mlock)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
  874. return
  875. }
  876. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  877. func callmlockall(flags int) (r1 uintptr, e1 Errno) {
  878. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
  879. return
  880. }
  881. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  882. func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
  883. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_msync)), 3, _p0, uintptr(_lenp0), uintptr(flags), 0, 0, 0)
  884. return
  885. }
  886. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  887. func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
  888. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munlock)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
  889. return
  890. }
  891. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  892. func callmunlockall() (r1 uintptr, e1 Errno) {
  893. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munlockall)), 0, 0, 0, 0, 0, 0, 0)
  894. return
  895. }
  896. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  897. func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
  898. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_pipe)), 1, p, 0, 0, 0, 0, 0)
  899. return
  900. }
  901. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  902. func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
  903. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_poll)), 3, fds, uintptr(nfds), uintptr(timeout), 0, 0, 0)
  904. return
  905. }
  906. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  907. func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
  908. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_gettimeofday)), 2, tv, tzp, 0, 0, 0, 0)
  909. return
  910. }
  911. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  912. func calltime(t uintptr) (r1 uintptr, e1 Errno) {
  913. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_time)), 1, t, 0, 0, 0, 0, 0)
  914. return
  915. }
  916. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  917. func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
  918. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utime)), 2, _p0, buf, 0, 0, 0, 0)
  919. return
  920. }
  921. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  922. func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
  923. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getsystemcfg)), 1, uintptr(label), 0, 0, 0, 0, 0)
  924. return
  925. }
  926. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  927. func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
  928. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_umount)), 1, _p0, 0, 0, 0, 0, 0)
  929. return
  930. }
  931. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  932. func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
  933. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
  934. return
  935. }
  936. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  937. func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
  938. r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
  939. return
  940. }
  941. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  942. func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
  943. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
  944. return
  945. }
  946. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  947. func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
  948. r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mmap64)), 6, addr, length, uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
  949. return
  950. }