Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 02-02-2004, 04:03 PM   #1
dasOp
Member
 
Join Date: Jan 2003
Posts: 91
Default VFS Context size

I didnt see any limit to the actual size of the context. So is there any way of getting io to tell me the needed size for the context buffer of a specific path? Like winapi does for some things.

Or is the answer just to malloc til it hurts and hope noone is insane enough to have that big of a context?
dasOp is offline  
Old 02-02-2004, 08:39 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

If the size u allocated isn't enough, io will return the call will return non-zero, and the return value will be the size it needs.

Never tried myself, but that's what dark said.
Mouton is offline  
Closed Thread

Tags
answer, context, malloc, size, til

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
I think i’m found 2 new bug’s in ioFTPD 3-7-0 CrossFire Bug Reports 6 12-06-2002 07:51 PM


All times are GMT -5. The time now is 01:09 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)