PR1245 device lseek

Victor Vengerov Victor.Vengerov at
Wed Aug 8 00:49:06 UTC 2007


Victor Vengerov wrote:
> IMHO, ideally, another set of handlers should be used for sockets and pipes.
BTW, it is correct for sockets - socket_handlers is defined in 
Note that lseek_h handler set to NULL there, and lseek() in 
libcsupport/src/lseek.c return ENOTSUPP in this situation instead on 
ESPIPE. So we should either explicitly implement lseek for sockets 
returning ESPIPE (I prefer this), or return ESPIPE in lseek.c instead of 


Victor Vengerov
OKTET Labs, St.-Petersburg, Russia   Web:
Phone +7 812 4286709(office) +7 921 9389372(mobile) +7 812 4281653(home)

More information about the users mailing list