make routines public; fix physical/logical walk; clean up dot/dotdot
[unix-history] / usr / src / bin / ls / extern.h
CommitLineData
f800e92e
KB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
e15d52dd 7 * @(#)extern.h 5.2 (Berkeley) %G%
f800e92e
KB
8 */
9
e15d52dd
EA
10int acccmp __P((const FTSENT *, const FTSENT *));
11int modcmp __P((const FTSENT *, const FTSENT *));
12int namecmp __P((const FTSENT *, const FTSENT *));
13int revacccmp __P((const FTSENT *, const FTSENT *));
14int revmodcmp __P((const FTSENT *, const FTSENT *));
15int revnamecmp __P((const FTSENT *, const FTSENT *));
16int revstatcmp __P((const FTSENT *, const FTSENT *));
17int statcmp __P((const FTSENT *, const FTSENT *));
18
f800e92e 19void *emalloc __P((u_int));
e15d52dd 20void err __P((int, const char *, ...));
f800e92e 21void prcopy __P((char *, char *, int));
e15d52dd
EA
22void printcol __P((FTSENT *, int, u_long, int));
23void printlong __P((FTSENT *, int, u_long, int));
24void printscol __P((FTSENT *, int, u_long, int));
f800e92e 25void usage __P((void));