NULL

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (4)
Updated: 1992³â 11¿ù 21ÀÏ
Index
Return to Main Contents
 

À̸§

null, zero - µ¥ÀÌÅÍ ¼Ò¸êÁ¡(sink)  

¼³¸í

null³ª zero Ư¼ö ÆÄÀÏ¿¡ ¾´ µ¥ÀÌÅÍ´Â ¹ö·ÁÁø´Ù.

null Ư¼ö ÆÄÀÏ¿¡¼­ ÀÐÀ¸¸é Ç×»ó EOF¸¦ ¸®ÅÏÇÏ´Â ¹Ý¸é, zero¿¡¼­ ÀÐÀ¸¸é Ç×»ó \0 ¹®ÀÚ¸¦ ¸®ÅÏÇÑ´Ù.

null¿Í zero´Â ´ÙÀ½°ú °°ÀÌ ¸¸µé¾îÁø´Ù:

mknod -m 666 /dev/null c 1 3
mknod -m 666 /dev/zero c 1 5
chown root:mem /dev/null /dev/zero

 

ÁÖÀÇ

ÀÌ ÀåÄ¡°¡ ¸ðµç »ç¿ëÀÚ¿¡°Ô ¾²±â¿Í Àб⠰¡´ÉÇÏÁö ¾ÊÀ¸¸é, ¸¹Àº ÇÁ·Î±×·¥ÀÌ ÀÌ»óÇÑ µ¿ÀÛÀ» ÇÒ °ÍÀÌ´Ù.  

ÆÄÀÏ

/dev/null
/dev/zero  

°ü·Ã Ç׸ñ

mknod(1), chown(1)  

¿ªÀÚ

ÀÓÁ¾±Õ <hermes44@secsm.org>, 2000³â 4¿ù 21ÀÏ


 

Index

À̸§
¼³¸í
ÁÖÀÇ
ÆÄÀÏ
°ü·Ã Ç׸ñ
¿ªÀÚ

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