Date: Sat, 6 Nov 1999 17:01:07 +0900 (JST) From: Mori Kouji <moriko@yakumo.noe.mcu.or.jp> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/14738: wrong type of arg is described for kgetstr(3) Message-ID: <199911060801.RAA08512@yakumo.noe.mcu.or.jp>
index | next in thread | raw e-mail
>Number: 14738
>Category: docs
>Synopsis: wrong type of arg is described for kgetstr(3)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 6 00:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Mori Kouji
>Release: FreeBSD 3.3-STABLE i386
>Organization:
Techinical Reserach Institute, Asanuma Corp.
>Environment:
>Description:
In manual for kgetstr(3), the SYNOPSIS is
char *
kgetstr(char *id, char *area)
But in src/usr.sbin/pcvt/keycap/keycap.c, kgetstr's entry is
char *kgetstr(id, area)
char *id;
char **area;
>How-To-Repeat:
>Fix:
To fix, patch to src/usr.sbin/pcvt/keycap/keycap.3 following.
--- keycap.3.orig Sat Nov 6 16:42:42 1999
+++ keycap.3 Sat Nov 6 16:42:55 1999
@@ -51,7 +51,7 @@
.Ft int
.Fn kgetflag "char *id"
.Ft char *
-.Fn kgetstr "char *id" "char *area"
+.Fn kgetstr "char *id" "char **area"
.Sh DESCRIPTION
These functions extract and use capabilities from a keyboard capability data
base, usually
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911060801.RAA08512>
