• 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: String Compare
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: String Compare


  • Subject: re: String Compare
  • From: "Carl Smith" <email@hidden>
  • Date: Mon, 11 Apr 2005 11:19:07 -0400
  • Thread-topic: re: String Compare

Ah I see, said the blind man. Thanks Quinn, understand the concept a little more.

 

Ok so I ran the % find /System/Library/Extensions/System.kext/PlugIns \

  -type f -a ! -name "*.plist" | xargs nm | grep strcmp

 

and I get back:

U _strcmp

U _strcmp

U _strcmp

 

How does this tell me which KPI exports the symbol, I thought I was looking for something like, “com.apple.kernel.libkern” and so on?

 

Also when I use strcmp, as my code is now, I get a warning of “implicit declaration of function ‘strcmp’”. Do I have to add the “#include string.h” to my file or does this have to do with adding the correct bundle identifier?

 

Thanks

Carl

 

> 3. Work out which KPI exports the symbol (that is, which bundle identifier should should add to your OSBundleLibraries >property in order to access the symbol).  You can do this using the technique shown by Sam Vaughan in a recent post:

 

>At 18:19 +1000 10/4/05, Sam Vaughan wrote:

>% find /System/Library/Extensions/System.kext/PlugIns \

  >-type f -a ! -name "*.plist" | xargs nm | grep physio

 

>S+E

 

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: String Compare
      • From: Dean Reece <email@hidden>
    • re: String Compare
      • From: Andrew Gallatin <email@hidden>
  • Prev by Date: statfs on link
  • Next by Date: re: String Compare
  • Previous by thread: RE: String compare
  • Next by thread: re: String Compare
  • Index(es):
    • Date
    • Thread