wip
This commit is contained in:
2
input.c
2
input.c
@@ -38,7 +38,7 @@ char *getstring(char *fmt, ...) {
|
||||
return buf;
|
||||
}
|
||||
|
||||
int yes_no_prompt(const char *fmt, ...) {
|
||||
int yesno(char *fmt, ...) {
|
||||
char prompt[256];
|
||||
|
||||
va_list ap;
|
||||
|
||||
2
input.h
2
input.h
@@ -4,6 +4,6 @@
|
||||
enum { TRUE, FALSE, GUARANTEE };
|
||||
|
||||
char *getstring(char *fmt, ...);
|
||||
int mlyesno(char *fmt, ...);
|
||||
int yesno(char *fmt, ...);
|
||||
|
||||
#endif /* INPUT_H_ */
|
||||
|
||||
18
proj.c
18
proj.c
@@ -73,12 +73,12 @@ int main(int argc, char **argv)\n\
|
||||
}\n\
|
||||
\n\
|
||||
return 0;\n\
|
||||
}");
|
||||
}", src, author, src, src);
|
||||
|
||||
ffwrite("README", "\
|
||||
+%%s+\n\
|
||||
| %%s |\n\
|
||||
+%%s+\n\
|
||||
+--------------------+\n\
|
||||
| %s/%s 1.0 |\n\
|
||||
+--------------------+\n\
|
||||
\n\
|
||||
%s\n\
|
||||
\n\
|
||||
@@ -126,8 +126,14 @@ more accurate attributions, if you desire.\n\
|
||||
\n\
|
||||
LAST MODIFED DATE\
|
||||
",
|
||||
description, src, author, src, year, author, src, author, src, author,
|
||||
description, src, author, VERSION);
|
||||
src, author,
|
||||
description,
|
||||
src, author,
|
||||
src, year, author,
|
||||
src, author,
|
||||
src, author, description,
|
||||
src, author,
|
||||
src, VERSION);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user