i sometimes get segment fault on printf. but when i change that printf from
printf to cprintf the code works.
why can this happen?
staff
i sometimes get segment fault on printf. but when i change that printf from
printf to cprintf the code works.
why can this happen?
staff
“Staff” <seto@vsnl.com> wrote in message news:amhch3$t7$1@inn.qnx.com…
i sometimes get segment fault on printf. but when i change that printf
from
printf to cprintf the code works.why can this happen?
Are you including stdio.h ? Is it possible the format and argument list do
not match?
staff
i am using stdio.h and aslo the formatting is correct otherwise it will not
work with cprintf.
Mario Charest postmaster@127.0.0.1 wrote in message
news:amiaar$jlg$1@inn.qnx.com…
“Staff” <> seto@vsnl.com> > wrote in message news:amhch3$t7$> 1@inn.qnx.com> …
i sometimes get segment fault on printf. but when i change that printf
from
printf to cprintf the code works.why can this happen?
Are you including stdio.h ? Is it possible the format and argument list
do
not match?
staff
\
i am doing all of it
Staff <seto@vsnl.com> wrote in message news:amhch3$t7$1@inn.qnx.com…
i sometimes get segment fault on printf. but when i change that printf
from
printf to cprintf the code works.why can this happen?
staff
“Staff” <seto@vsnl.com> wrote in message news:amoq2n$957$1@inn.qnx.com…
i am doing all of it
You need to provide more information, I can’t help you with this little
information. I guess that is why you haven’t received reply from other
people. Can you provide snippet of code, can you write a test case?
Staff <> seto@vsnl.com> > wrote in message news:amhch3$t7$> 1@inn.qnx.com> …
i sometimes get segment fault on printf. but when i change that printf
from
printf to cprintf the code works.why can this happen?
staff
\
STACK OVERFLOW - Increase your stack or remove large stack allocations in
the function.
Larry Fly
“Staff” <seto@vsnl.com> wrote in message news:amhch3$t7$1@inn.qnx.com…
i sometimes get segment fault on printf. but when i change that printf
from
printf to cprintf the code works.why can this happen?
staff