From: Colin Watson <cjwatson@ubuntu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Fopen in password.c
Date: Sat, 6 Mar 2010 14:50:41 +0000 [thread overview]
Message-ID: <20100306145040.GV4409@riva.ucam.org> (raw)
In-Reply-To: <4B925B4A.000017.00240@RASTGOO>
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 [cjwatson@ubuntu.com]
prev parent reply other threads:[~2010-03-06 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-06 13:40 Fopen in password.c Eli
2010-03-06 14:50 ` Colin Watson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100306145040.GV4409@riva.ucam.org \
--to=cjwatson@ubuntu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.