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