On Sat, Mar 06, 2010 at 05:10:26PM +0330, Eli wrote: > I want to open file in password.c by fopen command, > I add stdio.h to this file, But grub does not build and this error become > apparent: > <Fopen in password is not defined>
commands/password.c does not run in a POSIX environment, and stdio is not available to it. You'll need to use GRUB's own file-handling interfaces instead, such as grub_file_open. -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel