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

1.1     ! root        1: /* basnam.c
        !             2:    Get the base name of a file.  */
        !             3: 
        !             4: #include "uucp.h"
        !             5: 
        !             6: #include "uudefs.h"
        !             7: #include "sysdep.h"
        !             8: #include "system.h"
        !             9: 
        !            10: /* Get the base name of a file name.  */
        !            11: 
        !            12: char *
        !            13: zsysdep_base_name (zfile)
        !            14:      const char *zfile;
        !            15: {
        !            16:   const char *z;
        !            17: 
        !            18:   z = strrchr (zfile, '/');
        !            19:   if (z != NULL)
        !            20:     return zbufcpy (z + 1);
        !            21:   return zbufcpy (zfile);
        !            22: }

unix.superglobalmegacorp.com

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