GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ftok(3) FreeBSD Library Functions Manual ftok(3)

ftok
Æнº¸íÀ¸·ÎºÎÅÍ IPC ½Äº°ÀÚ¸¦ ÀÛ¼ºÇÑ´Ù

Standard C Library (libc, -lc)

<sys/types.h> <sys/ipc.h> key_t ftok(const char *path, int id)

ÀÌ ÇÔ¼ö´Â, ȣȯ¼º ÇÁ·Î±×·¥ ¶óÀ̺귯¸® libcompat ·ÎºÎÅÍ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
ftok() ÇÔ¼ö´Â, ±âÁ¸ ÆÄÀÏÀÇ path (¿Í)°ú À¯Àú°¡ ¼±Åà °¡´ÉÇÑ id (À»)¸¦ ÁÖ´Â °ÍÀ¸·Î, msgget(3), semget(2), shmget(2) ÇÔ¼ö¿¡¼­ÀÇ »ç¿ë¿¡ ÀûÀýÇÑ, °íÀ¯ÀÇ Å°¸¦ ÀÛ¼ºÇÏ·Á°í ÇÕ´Ï´Ù.
path (Àº)´Â, È£Ãâ ÇÁ·Î¼¼½º·ÎºÎÅÍ ¾×¼¼½º ÇÒ ¼ö ÀÖ´Â ÀÌ¹Ì Á¸ÀçÇÏ´Â ÆÄÀÏÀ» ÁöÁ¤ÇÑ´Ù ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ÀÌ ÁöÁ¤ÀÌ ÀûÀýÇÏÁö ¾ÊÀº °æ¿ì, È£ÃâÀº ¿¡·¯°¡ µË´Ï´Ù. ¾î´À ÆÄÀÏ¿¡ÀÇ ¸µÅ©¿¡¼­´Â, id ÇÏÁö¸¸ °°Àº °æ¿ì, °°Àº Å°°¡ µÇµ¹·ÁÁý´Ï´Ù.

ftok() ÇÔ¼ö´Â, path ÇÏÁö¸¸ Á¸ÀçÇÏÁö ¾Ê´ÂÁö, È£Ãâ ÇÁ·Î¼¼½º·ÎºÎÅÍ ¾×¼¼½º ÇÒ ¼ö ¾ø´Â °æ¿ì,-1 ¸¦ µÇµ¹¸³´Ï´Ù.

semget(2), shmget(2), msgget(3)

ftok() ÇÔ¼ö´Â System V ¿¡ À¯·¡ÇØ, System V IPC routine¸¦ »ç¿ëÇÑ´Ù ÇÁ·Î±×·¥À¸·Î ÀϹÝÀûÀ¸·Î »ç¿ëµË´Ï´Ù.

Thorsten Lockert ⟨tholo@sigmasoft.com⟩

µÇµ¹·ÁÁö´Â Å°´Â, µð¹ÙÀ̽ºÀÇ ¸¶À̳ª ¹øÈ£, ¹× path ÇÏÁö¸¸ °¡¸®Å°´Â ÆÄÀÏÀÇ inode ¹øÈ£¿¡ ±Ù°ÅÇØ, id ÀÇ ÇÏÀ§ 8 ºñÆ®·Î Á¶ÇÕÇØ »êÃâµË´Ï´Ù. ÀÌ ¶§¹®¿¡, ÀÌ routine´Â Áߺ¹ ÇÑ Å°¸¦ µÇµ¹¸± °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù.
June 24, 1994 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.