• 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: Easy Question: I just don't have the answer...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easy Question: I just don't have the answer...


  • Subject: Re: Easy Question: I just don't have the answer...
  • From: Andreas Monitzer <email@hidden>
  • Date: Sat, 18 Aug 2001 02:49:42 +0200

On Saturday, August 18, 2001, at 02:28 , Lloyd Sargent wrote:

Okay, this is a weird one, so just bear with me...

In the Auth framework there is the function

err = AuthorizationExecuteWithPrivileges(authRef, toolPath, 0, args,
pipe);

Okay, well the tool that I'm running is designed to return data sporadically. The problem I'm having is reading from the pipe - it does a blocking read (which I know is correct behaviour) ... however, I would LIKE to know if the pipe is empty... How do I do this? Is it possible?

What about doing a select() with a timeout of zero?

andy
--
Discussion forthcoming.


References: 
 >Easy Question: I just don't have the answer... (From: Lloyd Sargent <email@hidden>)

  • Prev by Date: Easy Question: I just don't have the answer...
  • Next by Date: Newbie ? - How to load JPEG image from file into window
  • Previous by thread: Easy Question: I just don't have the answer...
  • Next by thread: Newbie ? - How to load JPEG image from file into window
  • Index(es):
    • Date
    • Thread