search for: alias_cmd_sz

Displaying 2 results from an estimated 2 matches for "alias_cmd_sz".

2008 Oct 27
0
NEW: COM32 module to alias (Revised)
.../ Possible referenced values for command line length: // MAX_CMDLINE_LEN (com32/menu/menu.h) // LINE_MAX or _POSIX2_LINE_MAX <limits.h> on *nix systems; // Seem more appropriate for a shell command line // COMMAND_LINE_SIZE <asm/setup.h> on a Linux system #ifdef MAX_CMDLINE_LEN #define ALIAS_CMD_SZ MAX_CMDLINE_LEN #else #ifdef COMMAND_LINE_SIZE #define ALIAS_CMD_SZ COMMAND_LINE_SIZE #else #define ALIAS_CMD_SZ 2048 #endif /* COMMAND_LINE_SIZE */ #endif /* MAX_CMDLINE_LEN */ // #define DO_DEBUG 1 /* Uncomment this for additional output #define APP_LONGNAME "Alias COM32" #define APP_...
2008 Oct 22
1
NEW: COM32 module to alias
...e memcpy * b001 Initial version */ #include <stdio.h> #include <stdlib.h> // #include <stdbool.h> #include <string.h> #ifdef __COM32__ /* Allow targetting Linux, etc to test */ #include <syslinux/boot.h> /* syslinux_run_command() */ #endif /* __COM32__ */ #define ALIAS_CMD_SZ 128 // #define DO_DEBUG 1 #define APP_LONGNAME "Alias COM32" #define APP_NAME "alias" #define APP_YEAR "2008" #define APP_AUTHOR "Gene Cumm" #define APP_VER "beta-b002" int main(int argc, char *argv[]){ char cmdstr[ALIAS_CMD_SZ]; // Command str...