Annotation of coherent/g/usr/lib/uucp/tay104/unix/isdir.c, revision 1.1

1.1     ! root        1: /* isdir.c
        !             2:    See whether a file exists and is a directory.  */
        !             3: 
        !             4: #include "uucp.h"
        !             5: 
        !             6: #include "system.h"
        !             7: #include "sysdep.h"
        !             8: 
        !             9: boolean
        !            10: fsysdep_directory (z)
        !            11:      const char *z;
        !            12: {
        !            13:   struct stat s;
        !            14: 
        !            15:   if (stat ((char *) z, &s) < 0)
        !            16:     return FALSE;
        !            17:   return S_ISDIR (s.st_mode);
        !            18: }

unix.superglobalmegacorp.com

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