Correct.  StdLib attempts to use the "everything is a file" paradigm, like Unix 
and other Operating Systems do.

Daryl McDaniel 
  
"I have always wished for my computer to be as easy to use as my telephone;
my wish has come true because I can no longer figure out how to use my 
telephone."
-- Bjarne Stoustrup 



-----Original Message-----
From: David F. [mailto:df7...@gmail.com] 
Sent: Thursday, August 29, 2013 9:16 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] stdlib: using open() to opendir() ?

I guess under the *nix environment open can be used to open a dir...so....

On Thu, Aug 29, 2013 at 9:13 AM, David F. <df7...@gmail.com> wrote:
> Is it standard to use open() to open a dir.  Shouldn't open() fail if
> it's a dir normally??  You could setup a support opendirandfile() and
> open() could call that and opendir() could call that from which they
> could then check the attributes to determine if a file or dir and fail
> open() for dir and fail file for opendir() ??

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to