Framapiaf#gcc

Does anyone know why on #OpenBSD

l = strtol("0xquux", &rest, 16);

produce
l=0 and rest=0xquux

and on #Linux (at least)
l=0 and rest=xquux

Is there any #C99 gurus who can tell if there is a defined behaviour?

#gcc #llvm #stdlib #clang #programming #unix

Le projet #GNU annonce l'intégration du langage de programmation D dans #GCC svne.tf/aj