stdio.h defines BUFSIZ
[unix-history] / usr / src / usr.bin / more / help.c
CommitLineData
bfe13c81
KB
1/*
2 * Copyright (c) 1988 Mark Nudleman
3 * Copyright (c) 1988 Regents of the University of California.
4 * All rights reserved.
5 *
f15db449 6 * %sccs.include.redist.c%
bfe13c81
KB
7 */
8
9#ifndef lint
f15db449 10static char sccsid[] = "@(#)help.c 5.7 (Berkeley) %G%";
bfe13c81
KB
11#endif /* not lint */
12
bc258617
KB
13#include <sys/param.h>
14#include <less.h>
f5506e0f 15#include "pathnames.h"
bfe13c81 16
bfe13c81
KB
17help()
18{
bc258617 19 char cmd[MAXPATHLEN + 20];
bfe13c81 20
f5506e0f 21 (void)sprintf(cmd, "-more %s", _PATH_HELPFILE);
bfe13c81 22 lsystem(cmd);
bfe13c81 23}