Should a userland program be allowed to depend on errno==0 on entry to main()? (At least one in the tree does.)
I see no place in the C library that explicitly ensures this, and it might be false if the user runs the program under LD_PRELOAD tricks.
Should a userland program be allowed to depend on errno==0 on entry to main()? (At least one in the tree does.)
I see no place in the C library that explicitly ensures this, and it might be false if the user runs the program under LD_PRELOAD tricks.