Feb. 17th, 2012

You better watch out when XSI is enabled!

alexo@codedot:/tmp$ getconf _XOPEN_UNIX
1
alexo@codedot:/tmp$ cat bessel.c 
#include <math.h>
#include <stdio.h>

main()
{
	{
		static *j0, *j1, *jn;

		printf("%p %p %p\n", j0, j1, jn);
	}

	{
		static *y0, *y1, *yn;

		printf("%p %p %p\n", y0, y1, yn);
	}

	printf("%p %p %p\n", j0, j1, jn);
	printf("%p %p %p\n", y0, y1, yn);
	return 0;
}
alexo@codedot:/tmp$ c99 -lm bessel.c 2>&- && ./a.out
0x0 0x0 0x0
0x0 0x0 0x0
0x106a70580 0x106a70e00 0x106a71680
0x106a709d0 0x106a71230 0x106a71bc0
alexo@codedot:/tmp$

Profile

Anton Salikhmetov

November 2018

S M T W T F S
    123
45678 910
11121314151617
18192021222324
252627282930 

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 7th, 2025 02:50 pm
Powered by Dreamwidth Studios