xref: /original-bsd/usr.bin/more/help.c (revision c3e32dec)
1 /*
2  * Copyright (c) 1988 Mark Nudleman
3  * Copyright (c) 1988, 1993
4  *	The Regents of the University of California.  All rights reserved.
5  *
6  * %sccs.include.redist.c%
7  */
8 
9 #ifndef lint
10 static char sccsid[] = "@(#)help.c	8.1 (Berkeley) 06/06/93";
11 #endif /* not lint */
12 
13 #include <sys/param.h>
14 #include <less.h>
15 #include "pathnames.h"
16 
17 help()
18 {
19 	char cmd[MAXPATHLEN + 20];
20 
21 	(void)sprintf(cmd, "-more %s", _PATH_HELPFILE);
22 	lsystem(cmd);
23 }
24