1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +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:38:11 +00:00
parent eb6f7ce0ad
commit d0180ee195
3 changed files with 49 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)));