´ÙÀ½ À§·Î ÀÌÀü ¸ñÂ÷ ¸®´ª½º ÇÁ·Î±×·¡¸Ó¸¦ À§ÇÑ °¡À̵å

½Ã½ºÅÛ È£Ãâ:shmdt() (SYSTEM CALL:shmdt())


  SYSTEM CALL: shmdt();                                                          

  PROTOTYPE: int shmdt ( char *shmaddr );
    RETURNS: -1 on error: errno = EINVAL (Invalid attach address passed)

°øÀ¯ ¸Þ¸ð¸® ¼¼±×¸ÕÆ®°¡ ÇÁ·Î¼¼½º¿¡ ÀÇÇØ ´õÀÌ»ó ÇÊ¿ä°¡ ¾ø¾îÁø ÈÄ¿¡, ÀÌ ½Ã½ºÅÛ È£ÃâÀ» È£ÃâÇÏ¿© ºÐ¸®(detach)µÇ¾îÁ®¾ß ÇÑ´Ù. ¾Õ¿¡¼­µµ ¸»ÇßµíÀÌ, ÀÌ°ÍÀº Ä¿³Î·ÎºÎÅÍ ¼¼±×¸ÕÆ®¸¦ Á¦°ÅÇÏ´Â °Í°ú´Â ´Ù¸£´Ù. ºÐ¸®(detach)°¡ ¼º°øÀûÀ¸·Î ÀÌ·ç¾îÁø ÈÄ, shmid_ds ±¸Á¶Ã¼¿¡ ¿¬°üµÈ shm_nattch ¸â¹ö´Â 1¾¿ °¨¼ÒµÈ´Ù. ÀÌ°ªÀÌ Á¦·Î(0)¿¡ À̸¦¶§, Ä¿³ÎÀº ¹°¸®ÀûÀ¸·Î ¼¼±×¸ÕÆ®¸¦ Á¦°ÅÇÑ´Ù.


ÀÌÀü:½Ã½ºÅÛ È£Ãâ:shmdt() ´ÙÀ½:shmtool:»óÈ£ÀÛ¿ëÀÇ °øÀ¯ ¸Þ¸ð¸® Á¶Á¾ÀÚ

Copyright (c) 1996,1997 by Euibeom.Hwang & SangEun.Oh All Rights Reserved

Email To:Webmaster , Another address
LAST UPDATE Nov 28,1997
Created Nov 28,1997