[LCP]writing into a file

Sateesh Kumar Narayana sateesh.narayana at wipro.com
Wed Nov 7 18:25:11 UTC 2001


I am trying to write a file splitter (splitting files into 1KB each).First i
am opening the file in binary mode and reading some 1KB and writing the same
into a new file.
After completion of this ,i am getting the files size as 1066 bytes instead
of 1024.While debugging it is shown as no of bytes written is 1024 bytes.

Can anyone explain me from where  these additional bytes are coming in?????

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Wipro_Disclaimer.txt
Url: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20011107/11780762/attachment.txt 


More information about the linuxCprogramming mailing list