This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Implementation of read() under Linux
- From: "Vineet Joglekar" <vintya at excite dot com>
- To: libc-alpha at sources dot redhat dot com
- Cc:
- Date: Mon, 26 Jan 2004 16:02:47 -0500 (EST)
- Subject: Implementation of read() under Linux
- Reply-to: vintya at excite dot com
Hi all,
I dont know if this question is relevant on this mailing list, but please do help me out if you can.
For my project, I need to trace the read() function call till the VFS level. I know that read() makes the kernel invoke sys_read() and I want to do the same thing with some additional functionalities. Can i get the implementation of the read() function in gcc source code (maybe in the source file like unistd.c) so that on the parallel lines I will be able to write my own my_read() function which in turn will call the sys_read() too?
Thanks and regards,
Vineet
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!