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 -->
#
5
(
permalink
)
06-19-2009
rakeshawasthi
Registered User
Join Date: Aug 2004
Location: India
Posts: 379
Code:
memset(recvgen,'\0',NSE_MAX_PACKET_RECV_SIZE);
debug it and see what exactly are the values of each variable and exactly from which statement are you getting error. use printf for this.
rakeshawasthi
View Public Profile
Find all posts by rakeshawasthi
Find rakeshawasthi's past nominations received
Find rakeshawasthi's present nominations given