1: #ifndef lint
2: static char sccsid[] = "@(#)lastpart.c 5.1 (Berkeley) 7/2/83";
3: #endif
4:
5: /*******
6: * char *
7: * lastpart(file) find last part of file name
8: * char *file;
9: *
10: * return - pointer to last part
11: */
12:
13: char *
14: lastpart(file)
15: register char *file;
16: {
17: register char *c;
18:
19: c = file + strlen(file);
20: while (c >= file)
21: if (*(--c) == '/')
22: break;
23: return(++c);
24: }
Defined functions
lastpart
defined in line
13; used 20 times
- in /usr/src/cmd/uucp/chkpth.c line
45,
226,
237
- in /usr/src/cmd/uucp/cntrl.c line
123,
382,
459,
494,
782,
790
- in /usr/src/cmd/uucp/cpmv.c line
23,
34
- in /usr/src/cmd/uucp/uux.c line
58,
272-274(2),
301-302(2),
327-328(2)
- in /usr/src/cmd/uucp/uuxqt.c line
56,
267
Defined variables
sccsid
defined in line
2;
never used