diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-12-01 22:36:14 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-12-01 22:36:14 +0000 |
commit | f75bdf1516b031b0f975b77f289ea408e30cb9c9 (patch) | |
tree | 525ffbaa756be06cd82abc009cbce07761c71269 /termkey.c | |
parent | 8737046c4d42c223be6381a66fbee3fbe5cdbb97 (diff) | |
download | termo-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |