Results 1 to 2 of 2
Thread: Linux internals
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2005
i have one doubt in linux internals . in linux the block size is 1024 . i have one file the size is 3070 it takes 3 blocks. now i want read that file on that time the buffer cache how to get 3 blocks at a time . the read call contain any loop in internaly.
can any one help me
That's very bad programming practice to assume the size of anything. You should make your routine flexible to any size...