Johannes> You mean
Johannes> char name[sizeof "ib_mad123" + 1];
Johannes> right? :)
No, actually sizeof a string includes the trailing nul. Try the
following program:
int main() { printf("%d\n", (int) sizeof "123"); }
I bet it prints "4" :)
- R.
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
