Date: Mon, 29 Jun 2015 17:51:05 +0300 (MSK) From: Alexander Monakov <amonakov@...ras.ru> To: musl@...ts.openwall.com Subject: Re: fseek EOVERFLOW On Mon, 29 Jun 2015, Justin Cormack wrote: > The sign extension is correct - the argument to fseek is off_t (and so > is the return value, it is not an int), and off_t is always 64 bit on > Musl. For glibc it depends if it is compiled with LARGEFILE_SOURCE. No; please consult the documentation. The 'offset' argument to fseek is 'long', and the return value is 'int' (either -1 on error, or 0). Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.