|
-
February 2nd, 2010, 08:18 PM
#19
Re: fwrite ERRNO 22 with big (?) size
 Originally Posted by hi1
...Besides, i don't think that fwrite can know the actual buffer size and make an internal check, since it receives just a pointer to the buffer.
Right. But it WILL cause access violation trying to copy the stuff that is not there, and will catch the exceprion.
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|