Definition of _SC_HOST_NAME_MAX for OpenBSD and FreeBSD

This commit is contained in:
Raphael Cohn 2016-05-04 11:20:23 +01:00
parent 8adb9c54b3
commit cdb99e3584
2 changed files with 2 additions and 0 deletions

View File

@ -310,6 +310,7 @@ pub const _SC_SEMAPHORES : ::c_int = 42;
pub const _SC_SHARED_MEMORY_OBJECTS : ::c_int = 87;
pub const _SC_SYNCHRONIZED_IO : ::c_int = 31;
pub const _SC_TIMERS : ::c_int = 44;
pub const _SC_HOST_NAME_MAX : ::c_int = 69;
pub const FD_SETSIZE: usize = 0x100;

View File

@ -231,6 +231,7 @@ pub const _SC_REALTIME_SIGNALS : ::c_int = 64;
pub const _SC_RTSIG_MAX : ::c_int = 66;
pub const _SC_SIGQUEUE_MAX : ::c_int = 70;
pub const _SC_TIMER_MAX : ::c_int = 93;
pub const _SC_HOST_NAME_MAX : ::c_int = 33;
pub const FD_SETSIZE: usize = 1024;