Hi, Le Mon, 24 Apr 2006 18:37:37 +0530, "pradeep singh" <2500.pradeep@xxxxxxxxx> a écrit : > llseek method has its second argument as offset which is of type > unsigned long. And the last argument decides whence i.e from where to > start the offset, right? Now i have a doubt. At http://lxr.linux.no/source/fs/read_write.c#L113, you can see that the offset is not an unsigned long, but an loff_t, which is defined to be an unsigned long long at http://lxr.linux.no/source/include/asm-i386/posix_types.h#L38. Sincerly, Thomas -- Thomas Petazzoni - thomas.petazzoni@xxxxxxxx http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/