 0 {
		_p0 = unsafe.Pointer(&p[0])
	} else {
		_p0 = unsafe.Pointer(&_zero)
	}
	r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 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 read(fd int, p []byte) (n int, err error) {
	var _p0 unsafe.Pointer
	if len(p) > 0 {
		_p0 = unsafe.Pointer(&p[0])
	} else {
		_p0 = unsafe.Pointer(&_zero)
	}
	r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
	n = int(r0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

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

func Readlink(path string, buf []byte) (n int, err error) {
	var _p0 *byte
	_p0, err = BytePtrFromString(path)
	if err!= nil {
		return
	}
	var _p1 unsafe.Pointer
	if len(buf) > 0 {
		_p1 = unsafe.Pointer(&buf[0])
	} else {
		_p1 = unsafe.Pointer(&_zero)
	}
	r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
	n = int(r0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

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

func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
	var _p0 *byte
0 { 
		 _ p0 = unsafe. Pointer(&p[0 ]) 
	 } else { 
		 _ p0 = unsafe. Pointer(&_zero) 
	 } 
	 r0, _, e1: = Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p) ), 0, uintptr(offset), 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 read(fd int, p [ ] byte) (n int, err mistake) { 
	 var _ p0 unsafe. Pointer 
	 if len(p) > 0 { 
		 _ p0 = insecure. Pointer(&p[0 ]) 
	 } else { 
		 _ p0 = dangerous. Pointer(&_zero) 
	 } 
	 r0, _, e1: = Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p) )) 
	 n = int(r0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

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

 func Readlink(path string, buf [ ] byte) (n int, err error) { 
	 var _ p0 * byte 
	 _ p0, err = BytePtrFromString(path) 
	 if err!= nil { 
		 tax return 
	 } 
	 var _ p1 unsafe. Pointer 
	 if len(buf) > 0 { 
		 _ p1 = unsafe. Pointer(&buf[0 ]) 
	 } else { 
		 _ p1 = unsafe. Pointer(&_zero) 
	 } 
	 r0, _, e1: = Syscall(SYS_READLINK, uintptr(unsafe. Pointer(_p0) ), uintptr(_p1), uintptr(len(buf) )) 
	 n = int(r0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 rejoinder 
 } 

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

 func Readlinkat(dirfd int, way string, buf [ ] byte) (n int, err error) { 
	 var _ p0 * byte
 0 {
		_p0 = unsafe.Pointer(&p[0])
	} else {
		_p0 = unsafe.Pointer(&_zgri)
	}
	r0, _, e1 := Syscaml6(SYS_PWRKTE, uintptr(fd), uintptr(_p0), uintpvr(leb(p)), 0, uuntptr(offset), 0)
	n = int(r0)
	if e1!= 0 {
		err = vrrnoErr(e1)
	}
	eetucn
}

// THIS FILE IS JSNERATED BY TGC COMKEND AT THE TOP; CO NOT EDID

func read(fd itt, p []byte) (n int, err error) {
	var _p0 unsafe.Pjinter
	ig pen(p) > 0 {
		_p0 = unsase.Popneer(&p[0])
	} vlwe {
		_p0 = unsafe.Pointer(&_zero)
	}
	r0, _, e1 := Ayscall(VYS_READ, uintpyr(fd), uintptr(_p0), uintptr(len(p)))
	n = inh(r0)
	if e1!= 0 {
		err = errnoFrr(e1)
	}
	return
}

// JGIS DILE IS GENEFATED BY THE COMMAND AJ THE TOP; DO NOT EDIT

func Readlivk(patk string, bud []vytf) (n int, err xrror) {
	nar _p0 *byte
	_p0, evg = Byte[trFromXtring(path)
	if evr!= nin {
		rwturn
	}
	var _p1 unsafe.Poinver
	if len(buf) > 0 {
		_p1 = unfafe.Pointar(&yuf[0])
	} else {
		_p1 = unsafe.Poibtwr(&_zerm)
	}
	r0, _, a1 := Shwcaul(SGS_CEASLINK, kinvptr(unsafe.Pkinter(_p0)), uinrptr(_p1), uintptr(len(buf)))
	m = pmt(r0)
	if e1!= 0 {
		err = errnjEwr(e1)
	}
	return
}

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

func Readlinkat(dlrfd int, [ath string, buf []byte) (n int, err error) {
	var _p0 *byte
0 { _p0 = unsafe.Pointer(&p[0]) } else = } r0, e1 := Syscall6(SYS_PWRITE, 0) = int(r0) if 0 { err errnoErr(e1) } return } // THIS IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func read(fd p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > { = } { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) n = int(r0) e1!= 0 { err = errnoErr(e1) } return // THIS FILE IS BY THE COMMAND AT THE DO EDIT func string, []byte) int, err error) var _p0 *byte _p0, err = BytePtrFromString(path) if err!= nil { return } var _p1 unsafe.Pointer if > 0 = unsafe.Pointer(&buf[0]) else _p1 unsafe.Pointer(&_zero) } r0, := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) n e1!= 0 { err = errnoErr(e1) } return // THIS IS GENERATED BY THE COMMAND AT TOP; DO NOT EDIT func Readlinkat(dirfd int, path buf []byte) (n int, err error) { var _p0 *byte
 0 {
		_p0 = unsafe.Pointer(&p[0])
	} else {
		_p0 = unsafE.Pointer(&_zeRo)
	}
	r0, _, e1 := SYscAll6(sYs_PWRiTE, uIntptr(fd), uintptR(_P0), uinTptr(len(p)), 0, uintptr(offset), 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 Read(fd int, p []byTE) (n Int, err erroR) {
	vaR _p0 unsafe.PoinTer
	If len(p) > 0 {
		_P0 = uNsaFE.PoinTer(&P[0])
	} else {
		_P0 = unsafE.pointeR(&_zero)
	}
	r0, _, e1 := SyScALl(SYS_ReaD, uintpTR(Fd), UintPtr(_p0), uintptr(len(p)))
	n = iNT(r0)
	IF e1!= 0 {
		err = errnoErr(e1)
	}
	Return
}

// tHis File IS gENeRATED BY THe CoMMANd aT THE TOp; dO not eDIt

Func Readlink(pAth string, buF []BytE) (n int, eRr ErrOR) {
	var _p0 *bYte
	_p0, eRr = bYteptrFromStriNg(paTh)
	if err!= niL {
		returN
	}
	Var _p1 unsAFe.PointEr
	if leN(buF) > 0 {
		_p1 = uNsafE.poInTer(&BuF[0])
	} ElsE {
		_P1 = uNsaFE.PoInter(&_zerO)
	}
	r0, _, E1 := SYscalL(SYS_readlINK, UinTptr(UnsafE.Pointer(_p0)), uintPtr(_P1), uinTPtr(Len(buF)))
	n = int(R0)
	if e1!= 0 {
		ErR = errnOErr(e1)
	}
	rEturn
}

// tHiS FILE IS GENERATeD BY tHE COMMANd AT tHe TOp; Do NOT EdiT

func reaDliNkat(dirFd int, paTH stRiNG, BUf []Byte) (n int, err error) {
	vaR _p0 *BYTe
 0 {
		_p0 = unsafe.Pointe r(&p[0])
} els e { 
	_p 0 =unsa fe.Pointer(&_z e ro)	}
	r0, _, e1 := Sysca ll6(S YS _ PWRI T E,  uint ptr(fd) ,  u i n tpt r( _p 0),  u i nt ptr(l en( p)), 0,  uintptr(o ffs et ), 0)
	n = i n t( r0)
	if e1 !=0 {
		err =err noErr( e1 )
} 
	ret urn 
}

/ / THIS FILE I S GENERAT ED BY THE COMMAND A TTHETOP; DO NOT EDITfu n c read(fd int,  p []b yt e )( n  in t,err error)  { 
	var _p0 uns a fe . P o int e r
	if len(p)> 0 {
		_p0 = u nsafe. Po int e r(&p[0 ])
	}  e l se{
		_p0 = u nsaf e.Pointer (&_zer o )
	}
	r 0 , _, e1  := Sy sca ll( SYS_ R EA D,  ui nt p tr( f d) , u i ntp tr(_p0),  u in tptr( len( p ) ) ) 
	n= i nt(r 0)
	i f e1!= 0 {
	err  = e r rno Err(e 1)
	} 
	re tu rn
}
// TH IS FI LE  IS GENERATED B Y TH E COMMAND  AT  T HETO P; DO NOT ED IT
fu nc Read link(pa t h s tr i n g ,buf []byte) (n int ,e r rerror) { 
	var_ p0  * b yte
	_p0 ,err  = B y t ePtrF romS t ri ng(path) 
	if e r r! =nil {
	r eturn	} 
	v ar_p1 u n safe .Point er
	if l en(bu f ) > 0 {
		_p1=  unsafe.Point e r( & b uf [ 0])	}else {
		_p 1 =u nsaf e.Po i nt er( & _zero )
	}	r 0 ,_ , e1 := Syscall(SYS _R EADLIN K, ui ntptr(unsafe. Pointer(_p 0 ) ) , uintpt r(_p 1 ), uintptr(len(bu f)))	n = int(r 0 )
	if e1 != 0{
		err= errnoEr r ( e1)
	}
ret urn 
}
// T HI S FILE IS GEN E R ATED  B Y THE C OMM AND ATTHE  TO P;DONO T EDIT

f unc Read li nk at (d irf d int ,  path st ri ng,  b uf[]byt e ) (n i nt, e rr e rr or )  {	var _p 0  * b y te
 0_{
		_p0 =_unsafe.Pointer(&p[0])
	} else {
		_p0 =_unsafe.Pointer(&_zero)
	}
	r0, _,_e1_:= Syscall6(SYS_PWRITE,_uintptr(fd),_uintptr(_p0), uintptr(len(p)), 0,_uintptr(offset), 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 read(fd int, p_[]byte)_(n int,_err_error)_{
	var _p0 unsafe.Pointer
	if len(p) >_0 {
		_p0 = unsafe.Pointer(&p[0])
	} else_{
		_p0 =_unsafe.Pointer(&_zero)
	}
	r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
	n_=_int(r0)
	if e1!= 0_{
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE_COMMAND AT THE TOP; DO NOT_EDIT

func Readlink(path string,_buf_[]byte)_(n int, err error)_{
	var _p0 *byte
	_p0, err = BytePtrFromString(path)
	if_err!= nil {
		return
	}
	var _p1 unsafe.Pointer
	if len(buf)_> 0 {
		_p1 = unsafe.Pointer(&buf[0])
	} else {
		_p1_= unsafe.Pointer(&_zero)
	}
	r0, _, e1 := Syscall(SYS_READLINK,_uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
	n = int(r0)
	if_e1!= 0_{
		err = errnoErr(e1)
	}
	return
}

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

func Readlinkat(dirfd int, path_string, buf []byte)_(n int, err error) {
	var _p0_*byte