uterm: vt: add uterm_vt_get_num() helper
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 12 Jun 2013 13:43:17 +0000 (15:43 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 12 Jun 2013 13:43:17 +0000 (15:43 +0200)
commit066cf5144595638b8e70b97add195c7e648ecca3
tree2cf539e2f970a81fd6abb0a5cf33732a6421a5e4
parent3d2d8f5984a5bb9443d9904be8e4d2e4bd94991a
uterm: vt: add uterm_vt_get_num() helper

This helper returns the VT-number for the given VT if, and only if, it
is a real VT. In all other cases 0 is returned.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
docs/sym/libuterm.sym
src/uterm_vt.c
src/uterm_vt.h