Re: llseek and 64 bit return...

From: Matti Aarnio (matti.aarnio@sonera.fi)
Date: Mon Apr 24 2000 - 12:15:47 EST


On Mon, Apr 24, 2000 at 09:58:12AM -0700, Linda Walsh wrote:
> Linda Walsh wrote:
> >
> > I notice that the return value of llseek returns an error if the value to
> > return is > 32 bits. Perhaps it could change to return 64 bits via the new
> > 64-bit (ia32) system call?
> ---
> Ahh...um... it is lseek that returns an actual 'offset' value, llseek only
> returns 0 or error code. So...then I ask what would the implications (in a future
> development release) of changing lseek to return 64 bits on intel.

        Use lseek64() and be happy.
        On intel linux it is implemented at glibc by means of llseek(),
        but that is then a side issue.

        More on the generic userspace issue at:
                http://www.sas.com/standards/large.file/

> -l
> --
> Linda A Walsh | Trust Technology, Core Linux, SGI
> law@sgi.com | Voice: (650) 933-5338

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:08 EST