www.delorie.com/djgpp/doc/libc/libc_106.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

closedir

Syntax

 
#include <dirent.h>

int closedir(DIR *dir);

Description

This function closes a directory opened by opendir (see section opendir).

Return Value

Zero on success, nonzero if dir is invalid.

Portability

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004