HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
Manuals
Brands
HP Manuals
Software
HP-UX Migration and Transition Tools
141
142
143
144
145
146
147
148
149
150
pr
oblem or al
wa
ys a pr
ogram bug
, as with
realloc
. T
he follo
wing e
xample r
esults in
a w
arning on line 5:
int fn () __attribute__ ((warn_unused_result));
int test()
{
if (fn () < 0) return -1;
fn ();
return 0;
}
Attr
ibutes
1
4
5
1
...
...
143
144
145
146
147
...
...
286