CLOSEDIR

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

À̸§

closedir - µð·ºÅ丮¸¦ ´Ý´Â´Ù  

»ç¿ë¹ý

#include <sys/types.h>

#include <dirent.h>

int closedir(DIR *dir);
 

¼³¸í

closedir() ÇÔ¼ö´Â dir°ú ¿¬°üµÈ µð·ºÅ丮 ½ºÆ®¸²À» ´Ý´Â´Ù. µð·ºÅ丮 ½ºÆ®¸² ±â¼úÀÚ dirÀº È£Ãâ ÀÌÈÄ¿¡´Â À¯È¿ÇÏÁö ¾Ê´Ù.  

¹Ýȯ°ª

closedir() ÇÔ¼ö´Â ¼º°ø½Ã 0 ¶Ç´Â ½ÇÆнà -1À» ¹ÝȯÇÑ´Ù.  

¿¡·¯

EBADF
¹«È¿ÇÑ µð·ºÅ丮 ½ºÆ®¸² ±â¼úÀÚ dir
 

ȣȯ

SVID 3, POSIX, BSD 4.3  

°ü·Ã Ç׸ñ

close(2), opendir(3), readdir(3), rewinddir(3), seekdir(3), telldir(3), scandir(3)  

¿ªÀÚ

ÀÓÁ¾±Õ <hermes44@secsm.org>, 2001³â 6¿ù 28ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹Ýȯ°ª
¿¡·¯
ȣȯ
°ü·Ã Ç׸ñ
¿ªÀÚ

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