The UNIX and Linux Forums
>
Top Forums
>
High Level Programming
segmentation fault in fwrite function
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
segmentation fault in fwrite function
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
06-19-2009
ajaysahoo
Registered User
Join Date: Feb 2008
Posts: 14
i did the following code change...
memset(recvgen,'\0',NSE_MAX_PACKET_RECV_SIZE);
still same problem,i debug using dbx ...its showing segmentation fault at fwrite.
also sizeof(recvgen) is 4 where i have defined NSE_MAX_PACKET_RECV_SIZE=1050
ajaysahoo
View Public Profile
Find all posts by ajaysahoo
Find ajaysahoo's past nominations received
Find ajaysahoo's present nominations given