1 |
/* |
/* |
2 |
* GRUB -- GRand Unified Bootloader |
* GRUB -- GRand Unified Bootloader |
3 |
* Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. |
* Copyright (C) 1999,2000,2001,2002,2003,2004,2005 Free Software Foundation, Inc. |
4 |
* |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
459 |
|
|
460 |
/* Get a command-line. If ECHO_CHAR is not zero, echo it instead of input |
/* Get a command-line. If ECHO_CHAR is not zero, echo it instead of input |
461 |
characters. If READLINE is non-zero, readline-like key bindings are |
characters. If READLINE is non-zero, readline-like key bindings are |
462 |
available. If ESC is pushed, return non-zero, otherwise return zero. */ |
available. If ESC is pushed, return zero, otherwise return non-zero. */ |
463 |
/* FIXME: The dumb interface is not supported yet. */ |
/* FIXME: The dumb interface is not supported yet. */ |
464 |
int |
int |
465 |
grub_cmdline_get (const char *prompt, char cmdline[], unsigned max_len, |
grub_cmdline_get (const char *prompt, char cmdline[], unsigned max_len, |