summaryrefslogtreecommitdiff
path: root/lib/libterm/termcap.3
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-05-15 21:10:52 +0000
committerchristos <christos@NetBSD.org>2005-05-15 21:10:52 +0000
commitcf3e6ebd2b16e830ce179dec2805d21165b934bf (patch)
tree1b1ff6ceda12bcf1ba2ae66108d1bda4605c121f /lib/libterm/termcap.3
parentf2b0a44663b3af0b146273553b9ff9276e244e57 (diff)
add t_putws
Diffstat (limited to 'lib/libterm/termcap.3')
-rw-r--r--lib/libterm/termcap.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libterm/termcap.3 b/lib/libterm/termcap.3
index 8f097c8cf5f..ae0818e3b19 100644
--- a/lib/libterm/termcap.3
+++ b/lib/libterm/termcap.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: termcap.3,v 1.30 2004/04/23 02:58:27 simonb Exp $
+.\" $NetBSD: termcap.3,v 1.31 2005/05/15 21:11:13 christos Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)termcap.3 8.2 (Berkeley) 12/11/93
.\"
-.Dd September 30, 1999
+.Dd May 15, 2005
.Dt TERMCAP 3
.Os
.Sh NAME
@@ -81,6 +81,9 @@
.Fn t_freent "struct tinfo *info"
.Ft int
.Fn t_setinfo "struct tinfo **info" "const char *entry"
+.In wchar.h
+.Ft int
+.Fn t_putws "struct tinfo *info" "const wchar_t *cp" "int affcnt" "void (*outc)(wchar_t, void *)" "void *args"
.Sh DESCRIPTION
These functions extract and use capabilities from a terminal capability data
base, usually
@@ -417,6 +420,11 @@ holds a pointer to the termcap object that was returned by a previous
call, this object will be used to retrieve the
.Sy pc
attribute for the terminal.
+The function
+.Fn t_putws
+is similar to
+.Fn t_puts
+but it operates on a string of wide characters.
The
.Fa outc
function is a pointer to a function that will be called by