1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* ttyio.c (TERMDEVICE): Removed.

(tty_get_ttyname): New.
(init_ttyfp): Use it here instead of the TERMDEVICE macro.
This commit is contained in:
Werner Koch 2002-11-09 17:49:01 +00:00
parent d219b061ac
commit 41fb1aceb7
3 changed files with 47 additions and 14 deletions

View file

@ -20,6 +20,7 @@
#ifndef G10_TTYIO_H
#define G10_TTYIO_H
const char *tty_get_ttyname (void);
int tty_batchmode( int onoff );
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));