<br><br><div class="gmail_quote">On Wed, Oct 19, 2011 at 10:57 AM, bob <span dir="ltr"><<a href="mailto:ilikepie420@live.com">ilikepie420@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>It would be nice to share your solution in case someone else comes into the same problem. </p>
</blockquote></div>Hi,<br><br>It was stupid mistake. I forgot to initialize the file descriptor which was passed to mmap and therefore it was throwing "Bad file descriptor" error.i realized it after looking the errors in "man mmap".<br>
<br>Thanks<br>Vaibhav Jain<br><br><br>