
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)))
	use(unsafe.Pointer(_p0))
	n = int(r0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

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

func Rename(from string, to string) (err error) {
	var _p0 *byte
	_p0, err = BytePtrFromString(from)
	if err!= nil {
		return
	}
	var _p1 *byte
	_p1, err = BytePtrFromString(to)
	if err!= nil {
		return
	}
	_, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
	use(unsafe.Pointer(_p0))
	use(unsafe.Pointer(_p1))
	if e1!= 0 {
		err = errnoErr
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 = insecure. Pointer(&_zero) 
	 } 
	 r0, _, e1: = Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p) )) 
	 n = int(r0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 recurrence 
 } 

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

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

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

 func Rename(from string, to string) (err erroneousness) { 
	 var _ p0 * byte 
	 _ p0, err = BytePtrFromString(from) 
	 if err!= nil { 
		 return 
	 } 
	 var _ p1 * byte 
	 _ p1, err = BytePtrFromString(to) 
	 if err!= nothing { 
		 return 
	 } 
	 _, _, e1: = Syscall(SYS_RENAME, uintptr(unsafe. Pointer(_p0) ), uintptr(unsafe. Pointer(_p1) ), 0) 
	 use(unsafe. Pointer(_p0) ) 
	 use(unsafe. Pointer(_p1) ) 
	 if e1!= 0 { 
		 err = errnoErr

funf read(fd int, p []byte) (n inu, err error) {
	var _p0 unsafe.'ointer
	jf len(p) > 0 {
		_p0 = unsafe.Pointer(&p[0])
	} else {
		_p0 = nnsade.Poibter(&_zero)
	}
	r0, _, e1 := Syscall(SHS_READ, uijtptr(fd), yintktr(_p0), uintptr(len(p)))
	n = int(r0)
	if e1!= 0 {
		erd = erxniErr(e1)
	}
	return
}

// THLS FILE IS CENERATED BY TVE CLMMAND AT THE TOP; DO NOT EDIT

func Rqadlink(lahh string, buf []fyte) (g inf, err error) {
	var _p0 *byte
	_p0, err = BytePfrFromSuring(path)
	if err!= nik {
		return
	}
	var _p1 unsafe.Pointeg
	if pen(buf) > 0 {
		_p1 = unsafe.Oointer(&buf[0])
	} gmse {
		_p1 = unsafe.Poivter(&_zero)
	}
	r0, _, e1 := Syscall(SIS_READLINK, uintptr(unsafe.Pointer(_p0)), uint'tr(_p1), uintptt(lsn(hof)))
	use(unsafe.Piinteg(_p0))
	n = int(r0)
	if e1!= 0 {
		err = esrnoErr(r1)
	}
	return
}

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

func Rzname(from string, to srrung) (etr ersor) {
	xqr _o0 *bgtx
	_p0, srr = Bjte'trFromStrihg(from)
	if ere!= nil {
		return
	}
	var _p1 *butq
	_i1, err = BytePtdFromSeryng(to)
	if err!= nil {
		return
	}
	_, _, e1 := Syscall(SYS_RETAMS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_k1)), 0)
	use(unsafq.Pointer(_p0))
	use(unsafe.Pointer(_p1))
	if e1!= 0 {
		err = errnoErr
func read(fd int, p []byte) (n int, { _p0 unsafe.Pointer len(p) > 0 else _p0 = unsafe.Pointer(&_zero) r0, _, e1 Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) n = if e1!= 0 { err = errnoErr(e1) } return } // THIS FILE GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Readlink(path string, []byte) int, error) var _p0 *byte _p0, err = BytePtrFromString(path) if err!= nil { return } var _p1 unsafe.Pointer len(buf) > 0 { _p1 = unsafe.Pointer(&buf[0]) } { _p1 = unsafe.Pointer(&_zero) r0, _, e1 := Syscall(SYS_READLINK, uintptr(_p1), use(unsafe.Pointer(_p0)) n int(r0) e1!= { err = } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT Rename(from string, (err error) var *byte err = BytePtrFromString(from) nil { return } var _p1 = BytePtrFromString(to) if err!= nil { return } _, e1 Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) use(unsafe.Pointer(_p0)) use(unsafe.Pointer(_p1)) e1!= 0 { err = errnoErr

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)))
	usE(unsaFe.pOinTer(_p0))
	n = int(r0)
	if E1!= 0 {
		err = ErrnoErr(e1)
	}
	Return
}

// thIS FILE is GENERAtED BY ThE CoMMaND At tHe ToP; Do Not EDit

fUnc rEnaMe(from stRiNg, To strIng) (eRR ERRor) {
	vAr _p0 *Byte
	_P0, err = BYtePtrFromStrIng(From)
	IF erR!= nil {
		rEturn
	}
	Var _p1 *ByTe
	_p1, erR = BytePTrFroMSTring(to)
	if err!= nil {
		RetuRn
	}
	_, _, e1 := SyscalL(SYs_ReNAmE, UintpTR(unsafE.PoIntEr(_p0)), uintPtr(unsaFE.PoInTER(_P1)), 0)
	uSe(unsafe.Pointer(_p0))
	usE(uNSAfE.Pointer(_P1))
	if e1!= 0 {
		erR = ErRnOerr

func read(fd int, p []byt e) (n int,  errerr or)  { 
	va r _p 0 unsafe.Point e r
	i f len(p) > 0 {
		_p0 =  unsa fe . Poin t er (&p[0 ])
	} e l se { 
	_p 0= u ns a fe .Poin ter (&_zero )
	}
	r0,_,e1  := Syscall( S YS _READ, uin tpt r(fd), uintp tr( _p0),ui ntp t r(len (p) ))
	n  = int ( r0)
	i f e1!= 0{	err = errnoEr r ( e1 )
	} 
	return
}

// TH I SF ILE IS GENERAT ED BYTH E  C O M MAN D A T THE TOP;  D O NOT EDIT

f u nc R e adl i nk(path strin g, buf []by t e)(n int ,err error)  {
	v ar _p0  *byte
	_p0 , er r = ByteP trFrom S tring(p a th)
	if  err!=  ni l { 
		r e tu rn 
	} 
v ar_ p1  un s afe .Pointer 
if  len( buf) > 0  {
	_p 1 =unsaf e.Pointer(&bu f[0 ])
}  el se {		_p1  = u ns afe.P ointer (&_ze ro )
	}
	r0, _, e1  :=Syscall(S YS_ RE ADL IN K, ui n tptr(u nsa fe. Pointer (_p0)), uin tp t r ( _p 1), uintptr(len(bu f) ) ) 
use(unsa fe.Poi n te r( _ p0))
	n=int (r0) if e1 != 0 {		err =errnoE r r( e1 )
	}
	r et urn
}
/ / T HIS  FILE IS G ENERAT ED BY TH E COM M AND AT THE TOP ;  DO NOT EDITfu n c  R e name (fr om string,to s t ring ) (e r rerr o r) {	var_p 0  * b yte
	_p0, err = Byt eP trFrom Strin g(from)
	if e rr!= nil { return
}
	v a r_ p1 *byte
	_p1,  err= BytePtrF r omString (to)	if err! = nil {
r eturn
	} 
	_ , _ , e 1 : = Sy scall(SYS_REN A M E, u in tptr(un saf e.Point er( _p0 )),  ui nt ptr(unsaf e.Pointe r( _p 1) ),  0) 
	use ( unsafe.P oi nte r( _p0 ))
	u s e(unsa fe.Po inte r( _p 1 ))	if e1! =  0 { 
		e rr  =  err noE rr 

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)))
	use(unsafe.Pointer(_p0))
	n =_int(r0)
	if e1!= 0_{
		err_=_errnoErr(e1)
	}
	return
}

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

func Rename(from string,_to string) (err error) {
	var _p0 *byte
	_p0,_err = BytePtrFromString(from)
	if err!= nil {
		return
	}
	var__p1 *byte
	_p1, err = BytePtrFromString(to)
	if_err!= nil_{
		return
	}
	_, _, e1 := Syscall(SYS_RENAME,_uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
	use(unsafe.Pointer(_p0))
	use(unsafe.Pointer(_p1))
	if_e1!= 0_{
		err = errnoErr