Date: Mon, 13 Oct 1997 15:18:39 +0200 Message-Id: <199710131318.PAA06198@tyr.diku.dk> From: Morten Welinder To: eliz AT is DOT elta DOT co DOT il CC: dj AT delorie DOT com, djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Sun, 12 Oct 1997 14:36:35 +0200 (IST)) Subject: Re: Should off_t become unsigned? Precedence: bulk Mixing signed and unsigned in C is generally asking for trouble. I don't think that risk is justified for accessing large files on a FAT drive -- after all, the access of such a file would be painfully slow anyway due to the way the FAT is laid out. Solaris has offset_t llseek(int fildes, offset_t offset, int whence); and Linux has/had the raw syscall int _llseek(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence); (i.e., the same as Solaris, give or take a wrapper.) Morten