1: #ifndef lint
   2: static char sccsid[] = "@(#)trim.c	4.1 (Berkeley) 1/1/83";
   3: #endif
   4: 
   5: # if interdata
   6: # include "stdio.h"
   7: # endif
   8: main(argc,argv)
   9:     char *argv[];
  10: {
  11: char *nm, *p;
  12: p = nm = argv[1];
  13: while (*p) p++;
  14: while (*p != '/') p--;
  15: if (p==nm) p++;
  16: *p = 0;
  17: printf("%s\n", nm);
  18: exit(0);
  19: }

Defined functions

main defined in line 8; never used

Defined variables

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