• 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: FSRef-like primitive?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSRef-like primitive?


  • Subject: Re: FSRef-like primitive?
  • From: Mark Day <email@hidden>
  • Date: Mon, 20 Aug 2001 14:27:00 -0700
  • Newsgroups: apple.lists.cocoa-dev
  • Organization: Apple Computer, Inc.
  • Xref: forum.apple.com apple.lists.cocoa-dev:5472

In article <email@hidden>, Paul
Bayley <email@hidden> wrote:

> A better solution perhaps would be to add methods analogous to those
> wanting file paths to want FSRefs to avoid having to lookup the file path
> every time, but perhaps that's an unreasonable request.

I'd love to see that, too.

But in the meantime, you can convert between FSRef and a POSIX path
using the routines FSRefMakePath and FSPathMakeRef. I don't believe
those routines work on 9.x (not even under Carbon).

-Mark


  • Follow-Ups:
    • Re: FSRef-like primitive?
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Re: libpcap in Cocoa
  • Next by Date: Re: libpcap in Cocoa
  • Previous by thread: Re: FSRef-like primitive?
  • Next by thread: Re: FSRef-like primitive?
  • Index(es):
    • Date
    • Thread