diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-25 16:38:31 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-25 16:38:31 -0700 |
commit | 223f5298620a3b3be9fbd206e2a3fbb388487da0 (patch) | |
tree | 286635488927e801c646d80e21d6a194261ed75b /com32/samples/localboot.c | |
parent | 57556d8f612128679464667ce124ddc611795db2 (diff) | |
parent | a81fb89a445ae0dca286c861d8d51f705533df0d (diff) | |
download | syslinux-3.60-pre2.tar.gz |
Merge commit 'syslinux-3.52' into gpxe-supportsyslinux-3.60-pre2
Diffstat (limited to 'com32/samples/localboot.c')
-rw-r--r-- | com32/samples/localboot.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/com32/samples/localboot.c b/com32/samples/localboot.c new file mode 100644 index 00000000..579c7b03 --- /dev/null +++ b/com32/samples/localboot.c @@ -0,0 +1,9 @@ +#include <syslinux/boot.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) +{ + syslinux_local_boot(argc > 1 ? atoi(argv[1]) : 0); + + return 0; +} |