clarify things a bit more (from hubertf)

This commit is contained in:
christos 2001-01-15 21:02:58 +00:00
parent 2ed1e48455
commit a396a72f84
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: print.c,v 1.64 2001/01/15 17:57:14 christos Exp $ */
/* $NetBSD: print.c,v 1.65 2001/01/15 21:02:58 christos Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
__RCSID("$NetBSD: print.c,v 1.64 2001/01/15 17:57:14 christos Exp $");
__RCSID("$NetBSD: print.c,v 1.65 2001/01/15 21:02:58 christos Exp $");
#endif
#endif /* not lint */
@ -156,8 +156,8 @@ printheader()
}
/*
* Return 1 if the the command name in the argument vector does
* not match the command name.
* Return 1 if the the command name in the argument vector (u-area) does
* not match the command name (p_comm)
*/
static int
titlecmp(name, argv)

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ps.1,v 1.41 2001/01/15 17:57:14 christos Exp $
.\" $NetBSD: ps.1,v 1.42 2001/01/15 21:02:58 christos Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -385,9 +385,9 @@ to exit is listed as ``<exiting>''.
.Nm
will try to locate the processes' argument vector from the user
area in order to print the command name and arguments. This method
is not reliable because a process is entitled to destroy this
is not reliable because a process is allowed to destroy this
information. The ucomm (accounting) keyword will always contain
the real command name as contained in the process structure (p_comm).
the real command name as contained in the process structure's p_comm field.
.Pp
To indicate that the argument vector has been tampered with,
.Nm