📄 gethostname.c
字号:
#ifndef lintstatic char sccsid[] = "@(#)gethostname.c 8.1 (Berkeley) 4/13/94";#endif /* not lint *//* Solaris doesn't include the gethostname call by default. */#include <sys/systeminfo.h>#include <netdb.h>intgethostname(host, len) char *host; int len;{ return (sysinfo(SI_HOSTNAME, host, len));}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -