[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] POSIX spec expert needed

From: Matthew Dempsky
Subject: [Gnu-arch-users] POSIX spec expert needed
Date: Mon, 30 Aug 2004 14:14:02 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Can anyone confirm for me that when you make a call such as this:

          if (0 > vu_lseek (errn, file_fd, -1026, SEEK_END))

that it means there will be 1026 bytes left available to be read from
the file?

Also, that after:

          amt = vu_read_retry (errn, file_fd, buf, sizeof (buf));

when buf is defined to 'char buf[1025]' that we will be missing the
last (possibly newline) byte of the file?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]