Re: [go-nuts] Seeker documentation.

2016-06-15 Thread Ian Lance Taylor
On Wed, Jun 15, 2016 at 5:43 PM, wrote: > It seems that it is not well defined what happens when you get an error. > Looking at the os.File implementation the returned n value is always zero on > error. But isn't it possible that the underlying call can error but still > have seeked some? Since

[go-nuts] Seeker documentation.

2016-06-15 Thread jonathan . gaillard
It seems that it is not well defined what happens when you get an error. Looking at the os.File implementation the returned n value is always zero on error. But isn't it possible that the underlying call can error but still have seeked some? The reader and writer docs are clear :) -- You rece