WARNSify, fix .Nm usage
This commit is contained in:
parent
0ef9bf0033
commit
c9af5d97cf
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: nice.1,v 1.7 1997/08/25 16:42:36 kleink Exp $
|
||||
.\" $NetBSD: nice.1,v 1.8 1997/10/19 06:28:02 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -40,12 +40,12 @@
|
||||
.Nm nice
|
||||
.Nd execute a utility with an altered scheduling priority
|
||||
.Sh SYNOPSIS
|
||||
.Nm nice
|
||||
.Nm
|
||||
.Op Fl n Ar increment
|
||||
.Ar utility
|
||||
.Op Ar argument ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm Nice
|
||||
.Nm
|
||||
runs
|
||||
.Ar utility
|
||||
at an altered scheduling priority.
|
||||
@ -68,12 +68,12 @@ priority of
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
.Nm nice
|
||||
.Nm
|
||||
utility shall exit with one of the following values:
|
||||
.Bl -tag -width indent
|
||||
.It 1-125
|
||||
An error occurred in the
|
||||
.Nm nice
|
||||
.Nm
|
||||
utility.
|
||||
.It 126
|
||||
The
|
||||
@ -86,7 +86,7 @@ could not be found.
|
||||
.El
|
||||
.Pp
|
||||
Otherwise, the exit status of
|
||||
.Nm nice
|
||||
.Nm
|
||||
shall be that of
|
||||
.Ar utility .
|
||||
.Sh COMPATIBILITY
|
||||
@ -100,16 +100,16 @@ option has been deprecated but is still supported in this implementation.
|
||||
.Xr renice 8
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm nice
|
||||
.Nm
|
||||
utility conforms to
|
||||
.St -p1003.2-92 .
|
||||
.Sh HISTORY
|
||||
A
|
||||
.Nm nice
|
||||
.Nm
|
||||
utility appeared in
|
||||
.At v6 .
|
||||
.Sh BUGS
|
||||
.Nm Nice
|
||||
.Nm
|
||||
is built into
|
||||
.Xr csh 1
|
||||
with a slightly different syntax than described here. The form
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nice.c,v 1.9 1995/08/31 23:30:58 jtc Exp $ */
|
||||
/* $NetBSD: nice.c,v 1.10 1997/10/19 06:28:04 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989 The Regents of the University of California.
|
||||
@ -33,17 +33,18 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
char copyright[] =
|
||||
"@(#) Copyright (c) 1989 The Regents of the University of California.\n\
|
||||
All rights reserved.\n";
|
||||
__COPYRIGHT(
|
||||
"@(#) Copyright (c) 1989 The Regents of the University of California.\n\
|
||||
All rights reserved.\n");
|
||||
#endif /* not lint */
|
||||
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)nice.c 5.4 (Berkeley) 6/1/90";
|
||||
#endif
|
||||
static char rcsid[] = "$NetBSD: nice.c,v 1.9 1995/08/31 23:30:58 jtc Exp $";
|
||||
__RCSID("$NetBSD: nice.c,v 1.10 1997/10/19 06:28:04 lukem Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -60,7 +61,8 @@ static char rcsid[] = "$NetBSD: nice.c,v 1.9 1995/08/31 23:30:58 jtc Exp $";
|
||||
|
||||
#define DEFNICE 10
|
||||
|
||||
static void usage();
|
||||
int main __P((int, char **));
|
||||
static void usage __P((void));
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
|
Loading…
Reference in New Issue
Block a user