xref: /original-bsd/usr.bin/more/help.c (revision 76210d32)
1 /*
2  * Copyright (c) 1988 Mark Nudleman
3  * Copyright (c) 1988 Regents of the University of California.
4  * All rights reserved.
5  *
6  * %sccs.include.redist.c%
7  */
8 
9 #ifndef lint
10 static char sccsid[] = "@(#)help.c	5.7 (Berkeley) 06/01/90";
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