Annotation of researchv9/libc/gen/closedir.c, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1982 Regents of the University of California */
                      2: 
                      3: static char sccsid[] = "@(#)closedir.c 4.2 3/10/82";
                      4: 
                      5: #include <sys/types.h>
                      6: #include <ndir.h>
                      7: 
                      8: /*
                      9:  * close a directory.
                     10:  */
                     11: void
                     12: closedir(dirp)
                     13:        register DIR *dirp;
                     14: {
                     15:        close(dirp->dd_fd);
                     16:        free(dirp);
                     17: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.