summaryrefslogtreecommitdiff
path: root/com32/modules/cmd.c
Commit message (Collapse)AuthorAgeFilesLines
* com32: Add com32_cmdline() which returns argv[1..argc-1]syslinux-5.02-pre3Matt Fleming2013-02-231-1/+1
| | | | | | | | | | cmd.c32 needs an equivalent of __com32.cs_cmdline now that the COMBOOT code is dead. Introducing com32_cmdline(), which returns a string consisting of module arguments from argv[1] to argv[argc-1], separated by spaces. Reported-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* cmd: Adding proper include to syslinux_run_commandErwan Velu2010-05-121-0/+1
|
* Run Nindent on com32/modules/cmd.cH. Peter Anvin2009-05-291-2/+2
| | | | | | | | | Automatically reformat com32/modules/cmd.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* cmd.c32: simplify by passing the unparsed command lineH. Peter Anvin2009-03-141-21/+3
| | | | | Instead of parsing and unparsing the command line, just pass the raw command line the way we already have it.
* cmd.c32: use strpcpy() instead of sprintf()syslinux-3.74-pre4H. Peter Anvin2009-03-121-5/+6
| | | | | Make the cmd.c32 module a lot smaller (and avoid a warning) by using strpcpy() instead of sprintf().
* Simple "cmd" module to issue a CLI commandsyslinux-3.74-pre1Michael Brown2009-02-171-0/+42
A simple "cmd" COM32 module, which only echoes a CLI command. This is mostly useful when running on an alternate CLI, e.g. on top of the native gPXE COMBOOT interface.