aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-12-01 22:36:14 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-12-01 22:36:14 +0000
commitf75bdf1516b031b0f975b77f289ea408e30cb9c9 (patch)
tree525ffbaa756be06cd82abc009cbce07761c71269 /termkey.c
parent8737046c4d42c223be6381a66fbee3fbe5cdbb97 (diff)
downloadtermo-f75bdf1516b031b0f975b77f289ea408e30cb9c9.tar.gz
termo-f75bdf1516b031b0f975b77f289ea408e30cb9c9.tar.xz
termo-f75bdf1516b031b0f975b77f289ea408e30cb9c9.zip
Added termkey_get_fd() to API
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/termkey.c b/termkey.c
index b9b2ce0..b8f06e1 100644
--- a/termkey.c
+++ b/termkey.c
@@ -283,6 +283,11 @@ void termkey_destroy(termkey_t *tk)
termkey_free(tk);
}
+int termkey_get_fd(termkey_t *tk)
+{
+ return tk->fd;
+}
+
int termkey_get_flags(termkey_t *tk)
{
return tk->flags;