Displaying 1 result from an estimated 1 matches for "get_cmdline".
Did you mean:
set_cmdline
2013 Feb 06
1
Syslinux-5.01 cmd.c32 broken: __com32 undefined
...functions or is there something else
missing in here? Should accessing __com32.cs_cmdline be abstracted
via a function call for protection? Should cmd.c32 use argc/argv
instead?
If we were to abstract/protect via a function call, I'd expect the
call to use strncpy/memcpy and be like:
char *get_cmdline(char *dest, size_t n)
or if only for abstraction
char *get_cmdline(void)
--
-Gene