sin
|
e35d9e62a5
|
Just use HOST_NAME_MAX in hostname(1)
Using sysconf() + malloc() is overkill.
|
2014-11-13 17:22:02 +00:00 |
sin
|
0c5b7b9155
|
Stop using EXIT_{SUCCESS,FAILURE}
|
2014-10-02 23:46:59 +01:00 |
sin
|
13cbb19adc
|
Fix wrong length for sethostname()
This was messed up in the previous commit.
|
2014-02-14 15:13:20 +00:00 |
sin
|
efbce07f94
|
Use sysconf() instead of HOST_NAME_MAX
|
2014-02-14 15:03:16 +00:00 |
sin
|
3bf464c1d6
|
Use HOST_NAME_MAX in hostname(1)
|
2014-02-11 11:01:49 +00:00 |
sin
|
b5a511dacf
|
Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1
Fixed for consistency purposes.
|
2013-10-07 16:44:22 +01:00 |
sin
|
7be94fd3c8
|
Add hostname(1)
|
2013-10-05 14:58:55 +01:00 |