title: What is the maximum number of characters for a host-name in Unix?
body: <p>I am wondering what is the maximum number of characters for a host-name in a Unix system. In addition is there any defined variable that can be used in Unix programming to call that number? (i.e. number of characters allowed for a host-name).</p>
  
  <p>I am programming in C.</p>