Displaying 2 results from an estimated 2 matches for "show_usag".
Did you mean:
show_usage
2011 Aug 06
4
[PATCH] ifmemdsk.c32: Allow boot options based on presence of MEMDISK
...+
+int main(int argc, char ** argv) {
+ static f_find * do_scan_drives = scan_drives;
+ static f_find * do_walk_safe_hooks = do_nothing;
+ static f_find * do_scan_mbfts = do_nothing;
+ char ** detected_cmd;
+ char ** not_detected_cmd;
+ char ** cmd;
+ char ** cur_arg;
+ int show_usage;
+ int found;
+
+ (void) argc;
+
+ openconsole(&dev_null_r, &dev_stdcon_w);
+
+ detected_cmd = NULL;
+ not_detected_cmd = NULL;
+ show_usage = 1;
+ for (cur_arg = argv + 1; *cur_arg; ++cur_arg) {
+ /* Check for command divider */
+ if (!strcmp(*cur_arg, &...
2009 Mar 31
0
enhanced config.c32 module
...memset(bootlinux,0,sizeof(bootlinux));
memset(extlinux,0,sizeof(extlinux));
memset(isolinux,0,sizeof(isolinux));
memset(pxelinux,0,sizeof(pxelinux));
memset(syslinux,0,sizeof(syslinux));
extlinux_param=false;
pxelinux_param=false;
isolinux_param=false;
syslinux_param=false;
}
void show_usage() {
fprintf(stderr, "Usage: config <filename>\n");
fprintf(stderr, " config ext=<filename> iso=<filename> pxe=<filename> sys=<filename> \n");
}
int main(int argc, const char *argv[])
{
openconsole(&dev_null_r, &dev_stdcon_w);...