grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fopen in password.c


From: Colin Watson
Subject: Re: Fopen in password.c
Date: Sat, 6 Mar 2010 14:50:41 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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                                       address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]