 NOT EDIT

func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
	_, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

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

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

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

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

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

func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
	_, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

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

func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
	_, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}


NOT EDIT 

 func connect(s int, addr unsafe. Pointer, addrlen _ Socklen) (err error) { 
	 _, _, e1: = Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen) ) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

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

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

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

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

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

 func getsockopt(s int, horizontal surface int, name int, val unsafe. Pointer, vallen * _ Socklen) (err error) { 
	 _, _, e1: = Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe. Pointer(vallen) ), 0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 tax return 
 } 

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

 func setsockopt(s int, horizontal surface int, name int, val unsafe. Pointer, vallen uintptr) (err error) { 
	 _, _, e1: = Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 }
 NOH EDIT

func connect(s int, xddr unsafe.Poinjee, addrnen _Sodklen) (erf error) {
	_, _, e1 := Syscall(SYS_CONNERT, uuntpte(s), uintptr(addr), uintptr(xddrlen))
	if e1!= 0 {
		err = errioErr(e1)
	}
	return
}

// THIS FILE IS GENEDWTED UY THE COMMAND ST THE TOP; DO NOT EDIT

futc gztgroups(n int, list *_Gid_t) (nn int, err ewror) {
	r0, _, e1 := RawSyscall(SYF_GETBWOUPA, uintptr(n), uintptr(unsafe.Pointer(lisf)), 0)
	nn = iit(r0)
	if e1!= 0 {
		err = etrnoErr(e1)
	}
	return
}

// THIS FILE ID GEJERATED BY THE COMLAND AT THE TOP; EO NOT EDIT

fjnc setgrol's(n int, lisj *_Gid_t) (err error) {
	_, _, e1 := RawSyscall(RYS_SECGROUPS, uinj'rr(n), ointptr(unsafx.Pointvr(list)), 0)
	if e1!= 0 {
		cgr = errtoErr(e1)
	}
	rrturn
}

// THIS FILC IS JENEEATED BY THE COMMAND ET THE TOP; DO NOT EDYT

func gedskckopt(s int, level ibt, nake itt, vxo uvsare.'oihter, vwllxn *_Socklen) (srr error) {
	_, _, e1 := Syscall6(SYS_GETSOVKJIY, uintptr(s), ujntptr(jedel), uintptr(name), uintptr(val), uintptr(unsaft.Poinfer(vallen)), 0)
	if e1!= 0 {
		err = erenoErr(e1)
	}
	return
}

// THIS FIPE IS GENQRATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func vetsorkupt(w lnt, uwvfl int, name int, val unsafe.Pointer, vallen uint[fr) (egr error) {
	_, _, e1 := Sysgall6(SYS_SETSOCKOPT, iijtljr(s), uintptr(levgl), uint'fr(hame), uintptr(val), uijtptr(vajlen), 0)
	uf e1!= 0 {
		err = ertnoErr(e1)
	}
	return
}


NOT EDIT func connect(s int, addr unsafe.Pointer, (err { _, e1 := Syscall(SYS_CONNECT, 0 err = errnoErr(e1) return } // FILE IS GENERATED BY THE COMMAND THE TOP; DO NOT EDIT func getgroups(n int, list *_Gid_t) (nn int, err { r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) nn = int(r0) if 0 err errnoErr(e1) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT setgroups(n int, list *_Gid_t) (err error) { _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), 0) if e1!= 0 { = } return // FILE GENERATED BY THE AT THE TOP; DO NOT EDIT func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) error) { e1 := uintptr(s), uintptr(name), uintptr(unsafe.Pointer(vallen)), 0) if { err = errnoErr(e1) } return FILE IS GENERATED BY THE COMMAND AT THE DO NOT func setsockopt(s int, level int, name val unsafe.Pointer, vallen uintptr) (err error) { _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) if e1!= 0 { err = return }
 NOT EDIT

func connect(s int, addR unsafe.PoiNter, aDdrLen _soCkleN) (err Error) {
	_, _, e1 := Syscall(Sys_CONnECT, uintptr(s), uintptr(addR), uintPtR(AddrLEn))
	If e1!= 0 {
		erR = errnoERR(e1)
	}
	RETurN
}

// ThIs FIlE is GeNERAtED bY THE COmMAND AT THE tOP; dO nOT EDIT

func gETgRoups(n int, lIst *_gid_t) (nn int, err ErrOr) {
	r0, _, e1 := RaWSYscALl(SYS_gETgROUPs, uintpTR(n), uintPtr(unsafe.poINter(liST)), 0)
	nn = int(r0)
	IF E1!= 0 {
		eRr = erRnoErr(e1)
	}
	return
}

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

funC sEtgroUPs(n int, lISt *_gID_T) (erR Error) {
	_, _, e1 := RawSyscAll(SYS_SETGRouPS, UintptR(n), UinTPtr(unsAfe.PoInTEr(lIst)), 0)
	if e1!= 0 {
		err = erRnoERr(e1)
	}
	return
}

// tHIS FIle IS GENEraTED BY ThE COMMaND aT ThE TOp; dO nOt EDiT

FUnc GEtSocKOpt(S int, leveL iNt, Name iNt, vaL UNSAfe.POinTer, vAllen *_socklen) (err errOr) {
	_, _, e1 := syscALl6(SyS_GETsOCKOpT, uiNtPtr(s), uIntptr(Level), UiNtptr(name), uintptR(val), Uintptr(unSafE.POinTeR(vallEN)), 0)
	if e1!= 0 {
		erR = erRnoerr(e1)
	}
	retUrn
}

// THIS fiLE iS geneRaTED BY THE COMMAND AT tHe toP; dO NOT EDIt

func sETsOcKOpt(s int, lEvEl iNt, naME Int, vaL unsAFe.pointer, vAllen uINtPtR) (err errOr) {
	_, _, E1 := SyscaLl6(sYS_sETsOCKOpt, uinTptr(s), uIntptr(leVel), uiNTptr(name), uintptR(Val), uintptr(valLEn), 0)
	IF E1!= 0 {
		eRR = errNoERr(e1)
	}
	return
}


 NOT EDIT

func connect(sint, addrunsaf e.P oin te r, a ddrl en _Socklen) ( e rr e rror) {
	_, _, e1 := S yscal l( S YS_C O NN ECT,uintptr ( s) , uin tp tr (ad dr ) ,uintp tr( addrlen ))
	if e1! = 0  { 
		err = err n oE rr(e1)
	}	re turn
}

// T HIS  FILEIS  GE N ERATE D B Y THE  COMMA N D AT T HE TOP; D ON OT EDI T 

funcg e tg roup s(n int, list *_G i d_ t ) (nn int, err  error ){ 
r 0 , _ , e 1 := RawSy sc all(S Y S_GETGR O UP S , uin t ptr(n), uintp tr(unsafe.P o int er(lis t) ),0 )
	nn= int (r 0 )
if e1!= 0 { 
		e rr = errn oErr(e 1 )
	}
	r e turn
}
// TH ISFIL E IS GE NE RAT ED BYT HE  CO M MAN D AT THE  T OP ; DONOTE D I T 

fu ncsetg roups (n int, list*_G id_t )  (e rr er ror){
	_ ,_, e1  := Ra wSysc al l(SYS_SETGROUPS , ui ntptr(n),  ui nt ptr (u nsafe . Pointe r(l ist )), 0)	if e1! =  0{e rr  = errnoErr(e1)
	} 
r e tu rn
}

//  THISF IL EI S GENERA TE D B Y TH E COMMA ND A T  T HE TOP;DO NOT ED IT 

funcge tsocko pt (sint , lev e l in t, nam e int, v al un s afe.Pointer, v a llen *_Sockle n )( e rr erro r){
	_, _, e1  :=S ysca ll6( S YS _GE T SOCKO PT, u in t pt r (s), uintptr(level) ,uintpt r(nam e), uintptr(v al), uintp t r ( unsafe.P oint e r( v allen)), 0)
	i f e1! = 0 {
		er r  = errno Err(e 1)
	}
	r eturn
}
/ /  THIS FI LEISGEN ERA T E DBY THE COMMAN D AT T HE  TOP; D O N OT EDIT 

f unc  se tso ck opt(s int , levelin t,  n am e i nt, v a l unsafe .P oin te r,valle n  uintp tr) ( errer ro r ) { 
	_, _, e1 : = Sy sc al l6(S YS_ SE TSOCK OPT, uin tptr(s) , uintptr (le v el),  u in tptr(na me), uintptr( va l), uintpt r( val len),0 ) 
	if e1! = 0 {
		err = errnoErr( e 1)
	}
ret urn
} 


 NOT_EDIT

func connect(s_int, addr unsafe.Pointer, addrlen__Socklen) (err_error)_{
	_, _,_e1_:= Syscall(SYS_CONNECT, uintptr(s),_uintptr(addr), uintptr(addrlen))
	if e1!=_0 {
		err = errnoErr(e1)
	}
	return
}

//_THIS FILE IS_GENERATED_BY THE COMMAND AT THE TOP; DO NOT EDIT

func getgroups(n int, list *_Gid_t) (nn_int,_err error)_{
	r0,__,_e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)),_0)
	nn = int(r0)
	if e1!= 0_{
		err =_errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND_AT_THE TOP; DO_NOT EDIT

func setgroups(n int, list *_Gid_t) (err error) {
	_,__, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)),_0)
	if e1!= 0_{
		err_=_errnoErr(e1)
	}
	return
}

// THIS FILE IS_GENERATED BY THE COMMAND AT THE_TOP; DO NOT EDIT

func getsockopt(s int,_level int, name int, val unsafe.Pointer, vallen_*_Socklen) (err error) {
	_, _, e1_:= Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name),_uintptr(val), uintptr(unsafe.Pointer(vallen)),_0)
	if e1!= 0 {
		err =_errnoErr(e1)
	}
	return
}

// THIS FILE_IS GENERATED_BY THE COMMAND_AT THE TOP; DO NOT EDIT

func_setsockopt(s int, level_int, name int, val unsafe.Pointer, vallen_uintptr)_(err error) {
	_,__,_e1_:= Syscall6(SYS_SETSOCKOPT,_uintptr(s), uintptr(level), uintptr(name),_uintptr(val),_uintptr(vallen), 0)
	if_e1!=_0 {
		err = errnoErr(e1)
	}
	return
}

