Bruce Johnson wrote:

The CLI is for a Cocoa App, but I need to call this in both Leopard and iPhone


Please explain exactly what you mean by the acronym CLI. None of the interpretations I'm familiar with fit what you're doing. Or if they do, you're not explaining how you have a Command Line Interpreter/ Interface on iPhone.

  http://en.wikipedia.org/wiki/CLI


char  mdfile[PATHSIZE];
strncpy(mdfile, <pathToFile>, MAXREAD);

FILE * stream = fopen(<pathToFile>, "rt");


Please post your real code. Do not substitute placeholders like <pathToFile>.

When you eliminate things you think aren't relevant, it prevents anyone from seeing the entire context. And since you're having a problem, what you think is relevant may be contributing to the problem, so eliminating it could remove the very thing we need to see.

  -- GG

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to