GETPAGESIZE

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (2)
Updated: 1993³â 7¿ù 23ÀÏ
Index
Return to Main Contents
 

À̸§

getpagesize - ½Ã½ºÅÛ ÆäÀÌÁö Å©±â¸¦ ¾Ë¾Æ³½´Ù.  

»ç¿ë¹ý

#include <unistd.h>

size_t getpagesize(void);  

¼³¸í

ÇÑ ÆäÀÌÁöÀÇ ¹ÙÀÌÆ® ¼ö¸¦ ¸®ÅÏÇÑ´Ù. ÀÌ°ÍÀº ½Ã½ºÅÛÀÇ ÆäÀÌÁö Å©±âÀ̸ç, Çϵå¿þ¾î ÆäÀÌÁö Å©±â¿Í °°À» ÇÊ¿ä´Â ¾ø´Ù.  

ÁÖÀÇ

getpagesize´Â DLL 4.4.1¿¡¼­ ¶óÀ̺귯¸® ÇÔ¼öó·³ ¼öÇàµÈ´Ù. ¶óÀ̺귯¸®°¡ ÄÄÆÄÀ쵃 ¶§ Á¤ÀÇµÈ °Í¿¡ µû¶ó¼­, ÀÌ ÇÔ¼ö´Â EXEC_PAGESIZE (Linux 0.99.11¿¡¼­ 4096À¸·Î ¼³Á¤µÇ¾ú´Ù), NBPG (Linux 0.99.11¿¡¼­ 4096À¸·Î ¼³Á¤µÇ¾ú´Ù) ¶Ç´Â NBPCÀ» (Linux 0.99.11À̳ª DLL 4.4.1 ¶óÀ̺귯¸®¿¡¼­ Á¤ÀÇÇÏÁö ¾Ê¾Ò´Ù) ¸®ÅÏÇÑ´Ù.  

¹ö±×

¾ÆÅ°ÅØÃÄ¿Í ¶óÀ̺귯¸® ¹öÀü¿¡ ÀÇÁ¸ÇÏ¿©, ÀÌ ¶óÀ̺귯¸® È£ÃâÀº ½Ã½ºÅÛ ÄÝÀ̰ųª ¾Æ´Ò ¼ö ÀÖ´Ù. ¸®ÅϵǴ °ªÀº ½Ã½ºÅÛ ÄÝ¿¡ µû¶ó ´Ù¸£´Ù. ¿¹¸¦ µé¾î, libc5¸¦ »ç¿ëÇÏ´Â sun4¿¡¼­ ÀÌ ·çƾÀº PAGE_SIZE(4096)°¡ ¾Æ´Ñ EXEC_PAGESIZE(8192)¸¦ ¸®ÅÏÇϰųª, ¶Ç´Â ½Ã½ºÅÛ ÄÝÀÇ °á°ú(4096)¸¦ ¸®ÅÏÇÑ´Ù.  

ȣȯ

SVr4, 4.4BSD (ÀÌ ½Ã½ºÅÛ ÄÝÀº 4.2BSD¿¡¼­ óÀ½À¸·Î ³ªÅ¸³µ´Ù).  

°ü·Ã Ç׸ñ

sbrk(2)  

¿ªÀÚ

Á¤°­ÈÆ <skyeyes@soback.kornet.net>, 2000³â 5¿ù 2ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
ÁÖÀÇ
¹ö±×
ȣȯ
°ü·Ã Ç׸ñ
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:06:59 GMT, March 25, 2004