1: #ifndef lint
   2: static char sccsid[] = "@(#)lastpart.c	5.4 (Berkeley) 6/20/85";
   3: #endif
   4: 
   5: #include "uucp.h"
   6: 
   7: /*LINTLIBRARY*/
   8: 
   9: /*
  10:  *	find last part of file name
  11:  *
  12:  *	return - pointer to last part
  13:  */
  14: 
  15: char *
  16: lastpart(file)
  17: register char *file;
  18: {
  19:     register char *c;
  20: 
  21:     c = rindex(file, '/');
  22:     if (c++)
  23:         return c;
  24:     else
  25:         return file;
  26: }

Defined functions

Defined variables

sccsid defined in line 2; never used
Last modified: 1987-02-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1935
Valid CSS Valid XHTML 1.0 Strict