From f751af1a0ff0307dce00332a9057bfa6aa47aa34 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Fri, 25 Jun 2004 12:53:02 +0000 Subject: fix freads and freadline for redirected stdio on macho, use _unlocked functions for reading and writing strings --- mcon.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mcon.h') diff --git a/mcon.h b/mcon.h index 1a17c38..414d939 100644 --- a/mcon.h +++ b/mcon.h @@ -1,7 +1,9 @@ extern int w_get_char(); extern int w_get_int (int *i_p); extern int w_get_real (double *r_p); +extern unsigned long w_get_string (char *string,unsigned long max_length); extern unsigned long w_get_text (char *string,unsigned long max_length); +extern unsigned long w_get_line (char *string,unsigned long max_length); extern void w_print_char (char c); extern void w_print_int (int i); extern void w_print_real (double r); -- cgit v1.2.3