Go Back   FlashFXP Forums > Community Chatter > Programming

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

Closed Thread
 
Thread Tools Rate Thread
Old 02-02-2004, 03:03 PM   #1
Member
 
Join Date: Jan 2003
Posts: 92
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, 07:39 PM   #2
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 2,022
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
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


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 06:51 PM


All times are GMT -5. The time now is 12:27 PM.