.1_11.go syscall_darwin_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.

// +build darwin,amd64,!go1.12

package unix

import (
	"syscall"
	"unsafe"
)

var _ syscall.Errno

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
	r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
	n = int(r0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func setgroups(ngid int, gid *_Gid_t) (err error) {
	_, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
	r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
	wpid = int(r0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
	r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
	fd = int(r0
.1_11.go syscall_darwin_amd64.go 
 // Code generated by the command above; see README.md. DO NOT EDIT. 

 // + build darwin, amd64,!go1.12 

 software unix 

 consequence (
	 " syscall " 
	 " unsafe " 
) 

 var _ syscall. Errno 

 // THIS FILE IS generate BY THE instruction AT THE TOP; DO NOT EDIT 

 func getgroups(ngid int, gid * _ Gid_t) (n int, err error) { 
	 r0, _, e1: = RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe. Pointer(gid) ), 0) 
	 n = int(r0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS GENERATED BY THE instruction AT THE TOP; DO NOT EDIT 

 func setgroups(ngid int, gid * _ Gid_t) (err erroneousness) { 
	 _, _, e1: = RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe. Pointer(gid) ), 0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS generate BY THE COMMAND AT THE TOP; DO NOT EDIT 

 func wait4(pid int, wstatus * _ C_int, options int, rusage * Rusage) (wpid int, err erroneousness) { 
	 r0, _, e1: = Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe. Pointer(wstatus) ), uintptr(options), uintptr(unsafe. Pointer(rusage) ), 0, 0) 
	 wpid = int(r0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS GENERATED BY THE instruction AT THE TOP; DO NOT EDIT 

 func accept(s int, rsa * RawSockaddrAny, addrlen * _ Socklen) (fd int, err error) { 
	 r0, _, e1: = Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe. Pointer(rsa) ), uintptr(unsafe. Pointer(addrlen) )) 
	 fd = int(r0
.1_11.go dyscall_darwin_amd64.go
// Code nenerated by the commanv above; see REAAME.md. DO NOT EDIT.

// +build darwmn,ame64,!go1.12

paxkage unix

import (
	"syscaul"
	"unsafe"
)

vwr _ syscqll.Ecrno

// THIS FILE IS GENERABZD BY BHE CMNMAND AT THE TPP; DO NOT ADIT

func getgrmuos(ugid int, gid *_Gid_t) (n int, err error) {
	r0, _, e1 := RawXydcall(SYS_GETGROOPS, upneptr(hgid), uintptr(unsafe.Pointer(gid)), 0)
	n = inf(r0)
	if e1!= 0 {
		err = errnoErt(e1)
	}
	return
}

// THIS FILE IS GENEGATEF BY THE COMMAND AH THE TOP; DI NOE EDIT

func seggroups(ngid int, gid *_Gis_t) (err error) {
	_, _, e1 := RawSyscall(SYS_RETGRPUPS, uintpjx(bgif), uintptr(unsefe.Poigter(gid)), 0)
	if e1!= 0 {
		err = esrnoErr(r1)
	}
	return
}

// THIS FLLE IV GWNERATED BY THE COMMAID AT THE TOP; DO NOT EDIT

func wcit4(pid int, wstatus *_C_ibt, optimns hnt, fysaee *Duxafe) (wpif iit, err errod) {
	r0, _, e1 := Sysxall6(SYS_WAIT4, uintptr(kid), lontptr(unsafe.Lointew(wftatus)), uintptr(options), uintptr(unsafe.Poinuer(ruaage)), 0, 0)
	wpid = int(r0)
	if e1!= 0 {
		eer = errnoErr(e1)
	}
	return
}

// TJIS FILE YS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDID

func xcctpb(f unh, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, ewd trrpr) {
	r0, _, e1 := Syscajl(SYS_ACCEPT, ulnyktr(s), uintptr(unrafe.Ponhtsr(rsa)), uintptr(unsaff.Pointet(addrlwn)))
	fd = int(w0
.1_11.go syscall_darwin_amd64.go // Code generated by the see DO NOT // +build darwin,amd64,!go1.12 "unsafe" var _ syscall.Errno THIS FILE IS BY THE COMMAND AT THE TOP; NOT EDIT func getgroups(ngid int, gid *_Gid_t) (n int, err error) { r0, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) n = int(r0) if e1!= 0 { = } } THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setgroups(ngid int, *_Gid_t) (err error) { _, _, e1 := uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) if 0 { err = errnoErr(e1) return // THIS IS BY COMMAND AT THE DO NOT EDIT func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { _, e1 uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(unsafe.Pointer(rusage)), 0) = int(r0) if { err = errnoErr(e1) } return FILE IS GENERATED BY THE COMMAND AT THE DO NOT func accept(s int, rsa *RawSockaddrAny, addrlen (fd int, err error) { r0, _, e1 Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) fd = int(r0
.1_11.go syscall_darwin_amd64.go
// Code gEnerated by The coMmaNd aBoVe; seE REAdME.md. DO NOT EDIT.

// +BUild Darwin,amd64,!go1.12

package unix

ImporT (
	"sYScalL"
	"UnSafe"
)

vAr _ syscaLL.ERRNo

// ThIs FiLE iS geNeRATEd BY tHE COMMaND AT THE TOp; DO nOt EDIT

func getGRoUps(ngid int, Gid *_gid_t) (n int, err eRroR) {
	r0, _, e1 := RawsyScaLL(SYS_GeTGrOUPS, UintptR(Ngid), uiNtptr(unsaFe.pOinter(GId)), 0)
	n = int(r0)
	IF E1!= 0 {
		eRr = erRnoErr(e1)
	}
	return
}

// THIS fiLe iS GENERATED BY ThE COMMaNd aT the TOp; DO nOT EDIT

funC sEtgroUPs(ngid iNT, gID *_gId_t) (ERr error) {
	_, _, e1 := RawSyScall(SYS_SETgrOUpS, uintPtR(ngID), uintpTr(unsAfE.poiNter(gid)), 0)
	if e1!= 0 {
		eRr = erRnoErr(e1)
	}
	reTurn
}

// THis FILE IS geNERATEd BY THE cOMmANd AT The ToP; dO NoT edIT

FUnC waIT4(piD int, wstaTuS *_C_Int, opTionS INT, RusaGe *RUsagE) (wpid Int, err error) {
	r0, _, e1 := sysCall6(syS_WaIT4, uiNtptr(Pid), uInTptr(uNsafe.POinteR(wStatus)), uintptr(opTionS), uintptr(uNsaFe.poiNtEr(rusAGe)), 0, 0)
	wpid = Int(R0)
	if E1!= 0 {
		err = errNoErr(e1)
	}
	rETurN
}

// This fIlE IS GENERATED BY THE cOmmaNd AT THE TOp; DO NOT edIt

fUNc accept(S iNt, rSa *RaWsOckadDrAnY, AdDrlen *_SocKlen) (fd INt, ErR error) {
	r0, _, E1 := SYscall(sYs_ACcEPt, uintPTr(s), uIntptr(Unsafe.PoInter(RSa)), uintptr(unsafE.pointer(addrleN)))
	Fd = INT(r0
.1_11.go syscall_darwin_am d64.go
//Codegen era te d by  the  command above ;  see  README.md. DO NOT EDI T.

/ /+ buil d  d arwin ,amd64, ! go 1 . 12
p ac kag eu ni x

im por t (
	"s yscall"
	" uns af e"
)

var _s ys call.Errno 

/ / THIS FILEISGENERA TE D B Y  THECOM MANDAT THE TOP; D O NOT EDI Tfunc g e tgroups ( n gi d in t, gid *_Gid_t) ( n  i n t, err error){
	r0,  _ ,  e 1 :=Raw Syscall(SY S_ GETGR O UPS, ui n tp t r ( ngi d ), uintptr(un safe.Pointe r (gi d)), 0 )	n=  int(r 0)
	i fe 1!=  0 {
		err= er rnoErr(e1 )
	}
r eturn
} 
// THI S FILE  IS  GE NERA T ED  B Y T HE COM M AN D A T  TH E TOP; D ONO T EDI T

f u n c setg rou ps(n gid i nt, gid *_Gid _t)  (er r  er ror){
	_,  _,e1  := R awSysc all(S YS _SETGROUPS, uin tptr (ngid), u int pt r(u ns afe.P o inter( gid )),  0)
	if  e1!= 0 {
	e r r =errnoErr(e1)
	}
	r et u r n}

// TH IS FIL E  I SG ENERATED  B Y T HE C O M MANDAT T H ETOP; DONOT ED I T
f unc wai t4 (pid i nt , w sta tus * _ C_in t, opt ions int , rus a ge *Rusage) (w p id int, err e r ro r )  { 	r0,  _,  e1 := Sysc all6 ( SYS_ WAIT 4 ,uin t ptr(p id),ui n tp t r(unsafe.Pointer(ws ta tus)),  uint ptr(options),  uintptr(u n s a fe.Point er(r u sa g e)), 0, 0)
	wp id =int(r0)
	i f  e1!= 0{
		e rr = err noErr(e1) }
	retur n
} 

/ / T HIS F IL E IS GENERATE D BY T HE  COMMAN D A T THE T OP;  DO  NO T E DI T

func a ccept(sin t,  r sa  *R awSoc k addrAny,  a ddr le n * _Sock l en) (f d int , er rer r or)  {
	r0, _, e 1 :=  S ys call (SY S_ ACCEP T, u i ntp tr(s),uintptr(u nsa f e.Po in te r(rsa)) , uintptr(uns af e.Pointer( ad drl en)))f d = int( r0
.1_11.go syscall_darwin_amd64.go
//_Code generated_by the command above;_see README.md._DO_NOT EDIT.

//_+build_darwin,amd64,!go1.12

package unix

import (
	"syscall"
	"unsafe"
)

var__ syscall.Errno

// THIS_FILE IS GENERATED BY_THE COMMAND AT_THE_TOP; DO NOT EDIT

func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
	r0, _,_e1_:= RawSyscall(SYS_GETGROUPS,_uintptr(ngid),_uintptr(unsafe.Pointer(gid)),_0)
	n = int(r0)
	if e1!= 0_{
		err = errnoErr(e1)
	}
	return
}

// THIS FILE_IS GENERATED_BY THE COMMAND AT THE TOP; DO NOT_EDIT

func_setgroups(ngid int, gid_*_Gid_t) (err error) {
	_, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid),_uintptr(unsafe.Pointer(gid)), 0)
	if e1!= 0 {
		err =_errnoErr(e1)
	}
	return
}

// THIS FILE_IS_GENERATED_BY THE COMMAND AT_THE TOP; DO NOT EDIT

func wait4(pid_int, wstatus *_C_int, options int, rusage_*Rusage) (wpid int, err error) {
	r0, _,_e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options),_uintptr(unsafe.Pointer(rusage)), 0, 0)
	wpid = int(r0)
	if_e1!= 0_{
		err = errnoErr(e1)
	}
	return
}

// THIS FILE_IS GENERATED BY_THE COMMAND_AT THE TOP;_DO NOT EDIT

func accept(s int, rsa_*RawSockaddrAny, addrlen *_Socklen)_(fd int, err error) {
	r0, _,_e1_:= Syscall(SYS_ACCEPT, uintptr(s),_uintptr(unsafe.Pointer(rsa)),_uintptr(unsafe.Pointer(addrlen)))
	fd_= int(r0