xref: /csrg-svn/usr.bin/more/help.c (revision 42742)
135209Sbostic /*
235209Sbostic  * Copyright (c) 1988 Mark Nudleman
335209Sbostic  * Copyright (c) 1988 Regents of the University of California.
435209Sbostic  * All rights reserved.
535209Sbostic  *
6*42742Sbostic  * %sccs.include.redist.c%
735209Sbostic  */
835209Sbostic 
935209Sbostic #ifndef lint
10*42742Sbostic static char sccsid[] = "@(#)help.c	5.7 (Berkeley) 06/01/90";
1135209Sbostic #endif /* not lint */
1235209Sbostic 
1336251Sbostic #include <sys/param.h>
1436251Sbostic #include <less.h>
1537919Sbostic #include "pathnames.h"
1635209Sbostic 
1735209Sbostic help()
1835209Sbostic {
1936251Sbostic 	char cmd[MAXPATHLEN + 20];
2035209Sbostic 
2137919Sbostic 	(void)sprintf(cmd, "-more %s", _PATH_HELPFILE);
2235209Sbostic 	lsystem(cmd);
2335209Sbostic }
24