This commit is contained in:
2025-11-12 22:09:31 -05:00
parent 27c248c9bb
commit 6a50590393
3 changed files with 14 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ char *getstring(char *fmt, ...) {
return buf; return buf;
} }
int yes_no_prompt(const char *fmt, ...) { int yesno(char *fmt, ...) {
char prompt[256]; char prompt[256];
va_list ap; va_list ap;

View File

@@ -4,6 +4,6 @@
enum { TRUE, FALSE, GUARANTEE }; enum { TRUE, FALSE, GUARANTEE };
char *getstring(char *fmt, ...); char *getstring(char *fmt, ...);
int mlyesno(char *fmt, ...); int yesno(char *fmt, ...);
#endif /* INPUT_H_ */ #endif /* INPUT_H_ */

18
proj.c
View File

@@ -73,12 +73,12 @@ int main(int argc, char **argv)\n\
}\n\ }\n\
\n\ \n\
return 0;\n\ return 0;\n\
}"); }", src, author, src, src);
ffwrite("README", "\ ffwrite("README", "\
+%%s+\n\ +--------------------+\n\
| %%s |\n\ | %s/%s 1.0 |\n\
+%%s+\n\ +--------------------+\n\
\n\ \n\
%s\n\ %s\n\
\n\ \n\
@@ -126,8 +126,14 @@ more accurate attributions, if you desire.\n\
\n\ \n\
LAST MODIFED DATE\ LAST MODIFED DATE\
", ",
description, src, author, src, year, author, src, author, src, author, src, author,
description, src, author, VERSION); description,
src, author,
src, year, author,
src, author,
src, author, description,
src, author,
src, VERSION);
return 0; return 0;
} }