From 023943c7389cd1ece50bb92bb8bd1af42b62c580 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 6 Nov 2008 19:50:53 +0000 Subject: Don't document the termkey_free() function as it doesn't restore termios; document termkey_destroy() instead --- termkey_get_keyname.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termkey_get_keyname.3') diff --git a/termkey_get_keyname.3 b/termkey_get_keyname.3 index cc46460..c1f0d79 100644 --- a/termkey_get_keyname.3 +++ b/termkey_get_keyname.3 @@ -10,7 +10,7 @@ termkey_get_keyname \- return a string name for a symbolic key .sp Link with \fI-ltermkey\fP. .SH DESCRIPTION -\fBtermkey_get_keyname\fP returns a human-readable string name for the symbolic key value given by \fBsym\fP. The returned string is owned by the termkey instance \fItk\fP so should not be modified or freed. The returned pointer is guaranteed to be valid until the termkey instance is released using \fBtermkey_free\fP(3). +\fBtermkey_get_keyname\fP returns a human-readable string name for the symbolic key value given by \fBsym\fP. The returned string is owned by the termkey instance \fItk\fP so should not be modified or freed. The returned pointer is guaranteed to be valid until the termkey instance is released using \fBtermkey_destroy\fP(3). .SH "RETURN VALUE" \fBtermkey_get_key\fP() returns a pointer to a string. .SH "SEE ALSO" -- cgit v1.2.3-54-g00ecf