I'm trying to work out some inconsistent behavior in my app across
platforms. On FreeBSD, seekdir() doesn't seem to behave as I expect it to.
Here's a short program that demonstrates my confusion:
#include
#include
#include
int main() {
DIR* dirp;
off_t pos;
struct dirent* ent;
On Tue, Jul 08, 2003 at 03:30:26PM -0500, Dan Nelson wrote:
>
> [snip]
>
> I don't think there's any pstandard that says that telldir has to
> return a seekable file offset, or that consecutive calls on the same
> position must return the same value. Think about a filesystem that
> uses hashed or
2 matches
Mail list logo