summaryrefslogtreecommitdiff
path: root/bin/ps/extern.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-01-10 14:04:17 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-01-10 14:04:17 +0000
commit1ff71698b00a0496a82edb13ea27e66fe35c1677 (patch)
tree972972c21b733bc95835c67cdda9979eec3f2c63 /bin/ps/extern.h
parent88a702d55b47acbe595220ed818f39dff08ffe09 (diff)
UTF-8 support:
In a UTF-8 locale, columnate correctly and replace valid, but non- printable characters with the Unicode replacement character U+FFFD. No change in the C/POSIX locale, and no change for invalid bytes. Grand total, the code becomes shorter by almost 30 lines. Feedback from czarkoff@, OK millert@.
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r--bin/ps/extern.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h
index 1a7e63ddb27..64cf9a10da3 100644
--- a/bin/ps/extern.h
+++ b/bin/ps/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.18 2015/12/30 14:59:10 tedu Exp $ */
+/* $OpenBSD: extern.h,v 1.19 2016/01/10 14:04:16 schwarze Exp $ */
/* $NetBSD: extern.h,v 1.10 1995/05/21 13:38:27 mycroft Exp $ */
/*-
@@ -48,8 +48,6 @@ 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 fmt_puts(const char *, int *);
-void fmt_putc(int, int *);
double getpcpu(const struct kinfo_proc *);
double getpmem(const struct kinfo_proc *);
void gname(const struct kinfo_proc *, VARENT *);