-/* $OpenBSD: extern.h,v 1.22 2021/08/28 20:54:54 chrisz Exp $ */
+/* $OpenBSD: extern.h,v 1.23 2022/01/05 04:10:36 guenther Exp $ */
/* $NetBSD: extern.h,v 1.10 1995/05/21 13:38:27 mycroft Exp $ */
/*-
void command(const struct kinfo_proc *, VARENT *);
void cputime(const struct kinfo_proc *, VARENT *);
int donlist(void);
-void emulname(const struct kinfo_proc *, VARENT *);
void elapsed(const struct kinfo_proc *, VARENT *);
double getpcpu(const struct kinfo_proc *);
double getpmem(const struct kinfo_proc *);
-/* $OpenBSD: keyword.c,v 1.48 2021/08/28 20:54:54 chrisz Exp $ */
+/* $OpenBSD: keyword.c,v 1.49 2022/01/05 04:10:36 guenther Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
{"cputime", "", "time"},
{"cwd", "CWD", NULL, LJUST, curwd, CWDLEN},
{"dsiz", "DSIZ", NULL, 0, dsize, 4},
- {"emul", "EMUL", NULL, LJUST, emulname, KI_EMULNAMELEN - 1},
{"etime", "ELAPSED", NULL, USER, elapsed, 12},
{"f", "F", NULL, 0, pvar, 7, 0, POFF(p_flag), INT32, "x"},
{"flags", "", "f"},
-/* $OpenBSD: print.c,v 1.78 2021/12/01 18:21:23 deraadt Exp $ */
+/* $OpenBSD: print.c,v 1.79 2022/01/05 04:10:36 guenther Exp $ */
/* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */
/*-
else
printval((char *)kp + v->off, v);
}
-
-void
-emulname(const struct kinfo_proc *kp, VARENT *ve)
-{
- VAR *v;
-
- v = ve->var;
-
- (void)printf("%-*s", (int)v->width, kp->p_emul);
-}
-.\" $OpenBSD: ps.1,v 1.118 2021/08/28 20:54:54 chrisz Exp $
+.\" $OpenBSD: ps.1,v 1.119 2022/01/05 04:10:36 guenther Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: August 28 2021 $
+.Dd $Mdocdate: January 5 2022 $
.Dt PS 1
.Os
.Sh NAME
Current working directory.
.It Cm dsiz
Data size, in Kilobytes.
-.It Cm emul
-Name of system call emulation environment.
.It Cm etime
Elapsed time since the process was started.
.It Cm flags