• 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: Command line parameters...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line parameters...


  • Subject: Re: Command line parameters...
  • From: Cameron Hayne <email@hidden>
  • Date: Mon, 22 Aug 2005 16:07:02 -0400


On 22-Aug-05, at 3:53 PM, Jeff LaMarche wrote:

while ( (n=read(stdin, buffer, BUF_SIZE)) > 0)

The 'read' function expects a file descriptor (integer) as its first argument. It seems that you are supplying a FILE pointer instead. Maybe you want to use 'fread' ?


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Command line parameters... (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: bug tracking
  • Next by Date: Re: Command line parameters...
  • Previous by thread: Command line parameters...
  • Next by thread: Re: Command line parameters...
  • Index(es):
    • Date
    • Thread