CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 25

Threaded View

  1. #16
    Join Date
    Sep 2008
    Posts
    22

    Re: fwrite ERRNO 22 with big (?) size

    Quote Originally Posted by VladimirF View Post
    I prefer to assume that it isn't.
    Could you look at your "body" in the debugger? Can you scroll the Memory window all the way to body+103429? Does it look OK?
    Bottom line is - I can assure you that fwrite() can handle 100K on Windows.
    Could you package your test case and post it here?
    Well, i think that if the whole thing works ok on linux (no segm.faults thrown and the file is written correctly), then the logic must be correct (body buffer must be of the correct size).
    Dont you think?
    Last edited by hi1; February 2nd, 2010 at 07:16 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured