• 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
Is a unix path a child of a parent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is a unix path a child of a parent


  • Subject: Is a unix path a child of a parent
  • From: tridiak <email@hidden>
  • Date: Tue, 12 Mar 2013 20:28:55 +1300

How do you determine if a unix path childPath has a parent parentPath? (Or the other way around).
A simple string comparison seems too simplistic.
What are the gotchas?
(I'm used to using FSGetCatalogInfo() but I am moving away from the Carbon file manager.)

TIA
Mark
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is a unix path a child of a parent
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
    • Re: Is a unix path a child of a parent
      • From: Anton Altaparmakov <email@hidden>
    • Re: Is a unix path a child of a parent
      • From: Thomas Tempelmann <email@hidden>
  • Prev by Date: Re: Correct way to bless a volume?
  • Next by Date: Re: Is a unix path a child of a parent
  • Previous by thread: Re: Correct way to bless a volume?
  • Next by thread: Re: Is a unix path a child of a parent
  • Index(es):
    • Date
    • Thread