Well, I guess it's not unusual to try compiling and running a test program, even if it might segfault. The AIX documentation actually doesn't seem to mention a NULL second argument.
Patches from Debian
Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum Tue, 22 Nov 2016 21:20:08 -0800
