[lug] Linux syscall 19 lseek() produces unexpected output

Carl Hamlin carl at eceria.com
Tue Oct 30 09:33:49 MDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lori Reed wrote:
> Your file is being truncated to a length of 0 (zero).

Very likely, but the problem also occurs when I use open(). Originally,
I was having it check for the file's existence, and if it was already
there, use open() instead of creat(). Same behavior.

Thanks for looking into this with me.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHJ07XhnZ133XoNC8RAsdgAKCpCe1FuBGntBh/yEXK27ulYV2FrACdGIdA
d8455BaFThCUdttNgjsN2MM=
=zvB8
-----END PGP SIGNATURE-----



More information about the LUG mailing list