About Warrior
- Location:
- Cosmopolitan
Be a joke unto yourself!
Check out my blog at
Flashcore
Total Posts
- Total Posts
- 130
- Posts Per Day
- 0.20
- Last Post
- Codecall is awesome! 10-18-2011 11:19 AM
Visitor Messages
- Total Messages
- 4
- Most Recent Message
- 07-13-2010 10:25 PM
General Information
- Last Activity
- 11-05-2011 11:06 AM
- Join Date
- 05-04-2010
- Referrals
- 0
8 Friends
Showing Friends 1 to 8 of 8
View Warrior's Blog
by
Warrior on 06-07-2010 at 12:02 PM
Another minimal implementation of cat.The gnu cat implementation read the file in the dynamically allocated buffer by using the formula (OUTSIZE – 1 + INSIZE * 4 + LINE_COUNTER_BUF_LEN).As you can see the buffer allocated is very large when compared to file.If the file is hugeeee then it can create problem on a low memory machine.So i thought i should create a cat implementation which reads the file in chunks in a fixed size buffer rather than whole file at once.At the first sight it looked easy
Read More