1: 
   2: 
   3: /*******
   4:  *	char *
   5:  *	lastpart(file)	find last part of file name
   6:  *	char *file;
   7:  *
   8:  *	return - pointer to last part
   9:  */
  10: 
  11: char *
  12: lastpart(file)
  13: char *file;
  14: {
  15:     char *c;
  16: 
  17:     c = file + strlen(file);
  18:     while (c >= file)
  19:         if (*(--c) == '/')
  20:             break;
  21:     return(++c);
  22: }

Defined functions

Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 471
Valid CSS Valid XHTML 1.0 Strict