diff arogue7/rogue.h @ 203:aa8e1fc62926

Advanced Rogue 7: add and use more md_ functions. md_fileno() and md_fdopen() are now included. I still hope to rewrite everything to use FILE *'s.
author John "Elwin" Edwards
date Thu, 13 Aug 2015 07:38:57 -0400
parents 3e1146666ae5
children f9ef86cf22b2
line wrap: on
line diff
--- a/arogue7/rogue.h	Wed Aug 12 17:03:15 2015 -0400
+++ b/arogue7/rogue.h	Thu Aug 13 07:38:57 2015 -0400
@@ -1303,3 +1303,5 @@
 extern int demoncnt, fusecnt, between, chance;
 #define CCHAR(x) ( (char) (x & A_CHARTEXT) )
 extern char *md_gethostname(), *md_getusername(), *md_gethomedir(), *md_getroguedir(), *md_crypt();
+extern FILE * md_fdopen(int fd, char *mode);
+extern int md_fileno(FILE *fp);