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 received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.