Results 1 to 2 of 2
I came across read & write commands as
len = read(ipf,buf,4096);
write(opf,buf,len);
What is significance of each parameter ?
plz help me..............
- 01-09-2008 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 13
read(,,) & write(,,)
I came across read & write commands as
len = read(ipf,buf,4096);
write(opf,buf,len);
What is significance of each parameter ?
plz help me...........
- 01-09-2008 #2
For the read() function, do this at the command line:
Lather, rinse, and repeat for write().Code:man 2 read
In general, for any function (we'll call her barney() for this example), do this at the command line:
If the man page for that function is not installed on your system, google for this:Code:man -a barney
Hope this helps.Code:man barney Linux
--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote