From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2b4c21e3aa0b13cd88427a6cbd0d8537@felloff.net> Date: Thu, 12 Jun 2014 15:34:14 +0200 From: cinap_lenrek@felloff.net To: 9fans@9fans.net In-Reply-To: <5f8bf2c82754e77f461459bf3e4151df@brasstown.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 9syscall Topicbox-Message-UUID: fa9fd0ea-ead8-11e9-9d60-3106f5b1d025 because the kernel assumes that returned vlong is passed by reference in the first argument, where on amd64, the (amd64) calling convention returns it in 64 bit AX register. so seek() is a library func that emulates the previous convention for _seek() syscall. -- cinap