• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ISO versions of open(), read(), lseek()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ISO versions of open(), read(), lseek()


  • Subject: Re: ISO versions of open(), read(), lseek()
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 4 Jan 2011 14:32:12 -0500

On Tue, Jan 4, 2011 at 2:16 PM, Todd Heberlein <email@hidden> wrote:
> I have to maintain some C++ code between Xcode on a Mac and Visual Studio on Windows, and the Windows compiler kindly encouraged me to use the ISO versions of open(), read(), lseek() and so on (these are _open(), _read(), _lseek() ... (and seem to be defined in io.h)). I was looking for these library calls on the Mac and could not find them.
>
> Are they there somewhere and I just couldn't find them?

I suspect you're looking at the wrong "open" man page. "man 2 open" is
the one you want, and indicates that open() is declared in fcntl.h.
"man 1 open" describes the shell command, not the C function.

sherm--

--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ISO versions of open(), read(), lseek()
      • From: Todd Heberlein <email@hidden>
References: 
 >ISO versions of open(), read(), lseek() (From: Todd Heberlein <email@hidden>)

  • Prev by Date: ISO versions of open(), read(), lseek()
  • Next by Date: Re: ISO versions of open(), read(), lseek()
  • Previous by thread: ISO versions of open(), read(), lseek()
  • Next by thread: Re: ISO versions of open(), read(), lseek()
  • Index(es):
    • Date
    • Thread