UNAME
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (2)
Updated: 1993³â 7¿ù 24ÀÏ
Index
Return to Main Contents
À̸§
uname - ÇöÀç Ä¿³Î¿¡ °üÇÑ À̸§°ú Á¤º¸¸¦ ¾ò¾î¿Â´Ù.
»ç¿ë¹ý
#include <sys/utsname.h>
int uname(struct utsname *buf);
¼³¸í
uname˼
buf°¡
°¡¸®Å°´Â ±¸Á¶Ã¼¿¡ ½Ã½ºÅÛ Á¤º¸¸¦ ¸®ÅÏÇÑ´Ù.
utsname
±¸Á¶Ã¼´Â ´ÙÀ½°ú °°´Ù.
<sys/utsname.h>:
struct utsname {
char sysname[SYS_NMLN];
char nodename[SYS_NMLN];
char release[SYS_NMLN];
char version[SYS_NMLN];
char machine[SYS_NMLN];
#ifdef _GNU_SOURCE
char domainname[SYS_NMLN];
#endif
};
¹Ýȯ°ª
¼º°ø½Ã, 0ÀÌ ¸®ÅϵȴÙ. ¿¡·¯½Ã, -1ÀÌ ¸®ÅϵǸç
errno°¡
ÀûÀýÇÑ °ªÀ¸·Î ¼³Á¤µÈ´Ù.
¿¡·¯
- EFAULT
-
buf°¡
À¯È¿ÇÏÁö ¾Ê´Ù.
ȣȯ
SVr4, SVID, POSIX, X/OPEN
domainname º¯¼ö´Â
GNU È®ÀåÀÌ´Ù.
°ü·Ã Ç׸ñ
uname(1),
getdomainname(2),
gethostname(2)
¿ªÀÚ
Á¤°ÈÆ <skyeyes@soback.kornet.net>, 2000³â 4¿ù 27ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¹Ýȯ°ª
-
- ¿¡·¯
-
- ȣȯ
-
- °ü·Ã Ç׸ñ
-
- ¿ªÀÚ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:00 GMT, March 25, 2004