The manual Page
Version française
   
index | glossary | news | downloads | links ]
  man pages
section 1
section 2
section 3
section 4
section 5
section 6
section 7
section 8
section 9
section l
section n
section o
 
news
glossary
links
downloads
 
credits
contact
 
 
search
 
last update
19/02/2003
Valid HTML 4.0!
Valid CSS!
Hit-Parade
Mesurez votre audience


  closedir(3)
CLOSEDIR(3)         Linux Programmer's Manual         CLOSEDIR(3)

NAME
       closedir - close a directory

SYNOPSIS
       #include <sys/types.h>

       #include <dirent.h>

       int closedir(DIR *dir);

DESCRIPTION
       The  closedir() function closes the directory stream asso-
       ciated with dir.  The directory stream descriptor  dir  is
       not available after this call.

RETURN VALUE
       The  closedir()  function  returns  0  on success or -1 on
       failure.

ERRORS
       EBADF  Invalid directory stream descriptor dir.

CONFORMING TO
       SVID 3, POSIX, BSD 4.3

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

                           11 June 1995                         1

printable format printable format



Copyright © 2000-2002 themanualpage.org - This site is submissive to the terms of the GNU GPL and FDL licences.