hay guys why isn't XOpenDisplay()'s argument const char?

Adam Jackson ajax at nwnk.net
Wed Oct 5 15:17:25 UTC 2016


On Wed, 2016-10-05 at 11:48 +0900, Ashe Goulding wrote:
> Is it safe to regard it as const char?

Yes. libX11 predates the wide availability of C89, so it tends not to
include things like 'const' in function signatures.

- ajax


More information about the xorg mailing list