• 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: Determining the size of a directory Part 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining the size of a directory Part 2


  • Subject: Re: Determining the size of a directory Part 2
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 25 Oct 2004 15:10:54 +0200

At 14:42 Uhr +0200 25.10.2004, Dominik Freyer wrote:
duOutput=[fromDu readDataOfLength:10];

Try readDataToEndOfFile or whatever the method is called instead. If the output from du is shorter than 10 bytes, your code will keep waiting for more data while du has already hung up.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: 
 >Determining the size of a directory Part 2 (From: Dominik Freyer <email@hidden>)

  • Prev by Date: Re: [newbie]: resizing a view
  • Next by Date: Re: Determining the size of a directory Part 2
  • Previous by thread: Re: Determining the size of a directory Part 2
  • Next by thread: Re: Determining the size of a directory Part 2
  • Index(es):
    • Date
    • Thread