GETHOSTID
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (2)
Updated: 1993³â 11¿ù 29ÀÏ
Index
Return to Main Contents
À̸§
gethostid, sethostid - ÇöÀç È£½ºÆ®ÀÇ À¯ÀÏÇÑ ½Äº°ÀÚ(indentifier)¸¦ ¾ò¾î¿À°Å³ª ¼³Á¤ÇÑ´Ù.
»ç¿ë¹ý
#include <unistd.h>
long int gethostid(void);
int sethostid(long int hostid);
¼³¸í
ÇöÀç ¸Ó½ÅÀ» À§ÇÑ 32 ºñÆ® ½Äº°ÀÚ¸¦ ¾ò°Å³ª ¼³Á¤ÇÑ´Ù.
32ºñÆ® ½Äº°ÀÚ´Â Á¸ÀçÇÏ´Â ¸ðµç À¯´Ð½º ½Ã½ºÅÛ Áß¿¡¼ À¯ÀÏÇØ¾ß ÇÑ´Ù.
ÀÌ°ÍÀº
gethostbyname(3)¿¡
ÀÇÇØ ¸®ÅϵǴ ·ÎÄà ¸Ó½ÅÀÇ ÀÎÅÍ³Ý ÁÖ¼Ò¿Í ºñ½ÁÇÏ´Ù.
±×¸®°í º¸Åë ¼³Á¤ÇÒ ÇÊ¿ä°¡ ¾ø´Ù.
sethostid¸¦
È£ÃâÇÒ ¼ö ÀÖ´Â °ÍÀº ½´ÆÛ À¯Àú·Î Á¦ÇѵǾî ÀÖ´Ù.
hostid
ÀÎÀÚ´Â
/etc/hostid
ÆÄÀÏ¿¡ ÀúÀåµÈ´Ù.
¹Ýȯ°ª
gethostid´Â sethostid(2)¿¡
ÀÇÇØ ¼³Á¤µÈ ÇöÀç È£½ºÆ®ÀÇ 32 ºñÆ® ½Äº°ÀÚ¸¦ ¸®ÅÏÇÑ´Ù.
ȣȯ
4.2BSD. ÀÌ ÇÔ¼öµéÀº 4.4BSD¿¡¼ ¾ø¾îÁ³´Ù.
POSIX.1¿¡¼´Â ÀÌ ÇÔ¼öµéÀ» Á¤ÀÇÇÏÁö ¾Ê¾ÒÁö¸¸, ISO/IEC 9945-1:1990´Â
B.4.4.1¿¡¼ ¾ð±ÞÇÑ´Ù. SVr4´Â
gethostid´Â
Æ÷ÇÔÇÏÁö¸¸,
sethostid´Â
Æ÷ÇÔÇÏÁö ¾Ê´Â´Ù.
ÆÄÀÏ
/etc/hostid
°ü·Ã Ç׸ñ
hostid(1),
gethostbyname(3)
¿ªÀÚ
Á¤°ÈÆ <skyeyes@soback.kornet.net>, 2000³â 5¿ù 2ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¹Ýȯ°ª
-
- ȣȯ
-
- ÆÄÀÏ
-
- °ü·Ã Ç׸ñ
-
- ¿ªÀÚ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:00 GMT, March 25, 2004