Old 11th July 2002, 11:51   #1
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
Yet another question (IGNORE - I was asleep)

OK time for another stupid question from me .

EXTC COMEXP size_t FWRITE(const void *buffer, size_t size, size_t count, FILE *stream);

WTF does count do?

[edit]
DOH RTFM!!!

I really am asleep today, sorry people

[/edit]

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 18th July 2002, 05:07   #2
Aus
French Canadian
(Alumni)
 
Aus's Avatar
 
Join Date: Dec 2001
Location: A shiny Igloo.
Posts: 333
Send a message via AIM to Aus
err, like the normal fwrite count, it's the number of times you want to write size from *buffer.

Aus -- NoisePort.Org, chronicles of the french canadian alien (Temporarly down during the move).
Aus is offline  
Old 18th July 2002, 07:53   #3
migmigmig
Hot Green Mustard Evangelist
 
migmigmig's Avatar
 
Join Date: Oct 2001
Location: Down the street from work
Posts: 194
Send a message via ICQ to migmigmig Send a message via AIM to migmigmig
I'm sure either K or R argued STRONGLY for things like that count param... Or the "calloc()" function.

Oh well. Even the best SDKs wind up with vestigal appendages.

mig
"I love to rub shoulders with the snakes"
migmigmig is offline  
 
Go Back   Winamp & Shoutcast Forums > Winamp3 > Wasabi Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump