Hostname: Difference between revisions
Content added Content deleted
(→[[C]]: Added syntax highlighting) |
(→[[C]]: Removed syntax highlighting) |
||
Line 9: | Line 9: | ||
'''Standard:''' [[POSIX.1]] |
'''Standard:''' [[POSIX.1]] |
||
⚫ | |||
<highlightSyntax language=C> |
|||
#include < |
#include <unistd.h> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
gethostname(name, _POSIX_HOST_NAME_MAX+1); |
|||
⚫ | |||
⚫ | |||
⚫ | |||
</highlightSyntax> |
|||
==[[C#]]== |
==[[C#]]== |