meta(stdscr, true);
}
-void _mutt_perror (const char *s, const char* filename, int line)
-{
- char *p = strerror (errno);
- mutt_error ("%s: %s (errno = %d) from %s:%i", s, p ? p : _("unknown error"), errno, filename, line);
-}
-
/*
* prompts the user to enter a keystroke, and displays the octal value back
* to the user.
void mutt_format_s_tree (char *, ssize_t, const char *, const char *);
void mutt_free_color (int fg, int bg);
void mutt_paddstr(WINDOW *, int, const char *);
-#define mutt_perror(a) _mutt_perror (a, __FILE__, __LINE__)
-void _mutt_perror (const char*, const char*,int);
+#define mutt_perror(s) \
+ mutt_error("%s: %m (errno = %d) from %s:%i", s, errno, __FILE__, __LINE__)
void mutt_query_exit (void);
void mutt_query_menu (char *, ssize_t);
void mutt_show_error (void);