LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-25-2012, 12:24 AM   #1
unifoxz
LQ Newbie
 
Registered: Dec 2011
Posts: 19

Rep: Reputation: Disabled
Question 'read' function in uClibc 0.9.32


What is the first function run in uClibc when user application call read(...)?

I only could find the following related code under uClibc-0.9.32\libc\sysdeps\linux\common\read.c.

Code:
_syscall3(ssize_t, read, int, fd, __ptr_t, buf, size_t, count)
#ifndef __LINUXTHREADS_OLD__
libc_hidden_def(read)
#else
libc_hidden_weak(read)
strong_alias(read,__libc_read)
#endif
Thank you.
 
Old 01-27-2012, 02:38 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,855

Rep: Reputation: 161Reputation: 161
You can try fread function in fread.c under /libc/stdio. Digging into the function, you should find read function.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
read the output in console by a function in c Marin_ Linux - Software 1 03-07-2010 09:26 PM
can't read from the device driver using read() function. parthi_s Linux - Newbie 1 03-23-2009 06:16 AM
bash read value function mcandy Programming 11 02-15-2008 11:47 AM
Help with the read() function in C smoothdogg00 Programming 4 09-25-2006 08:44 PM
read and pipe function dummyagain Programming 13 09-24-2003 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration