[vlc-devel] [PATCH] xcb_window: Use sysconf to discover HOST_NAME_MAX.

Rémi Denis-Courmont remi at remlab.net
Fri Jul 10 14:50:43 CEST 2009


On Fri, 10 Jul 2009 14:35:28 +0200, Alexis Ballier <aballier at gentoo.org>
wrote:
> POSIX does not mandate HOST_NAME_MAX to be defined and FreeBSD does not
> define it to encourage people to use sysconf() for discovering its value.
> If sysconf fails, fallback to _POSIX_HOST_NAME_MAX.

http://www.remlab.net/op/sizeof.shtml

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list