I guess some uv_fs_statfs would be a welcome addition.

With these kind of functions the approach taken is usually to have a thin
wrapper on Unix and the closest possible equivalent on Windows.

Cheers,
On Nov 13, 2014 5:50 AM, "Tony Kelman" <[email protected]> wrote:

> Hi all,
>
> I've found an application where I'm in need of a Win32 equivalent of
> statfs and/or statvfs, preferably as a drop-in replacement. I'm not exactly
> an expert on these matters, but my first instinct was this seems like the
> kind of thing that might exist in libuv. It looks like it doesn't
> currently, so I'm posting to ask - would this (something like uv_statfs or
> uv_statvfs) be a worthwhile addition to pursue?
>
> I found a public-domain implementation in an appropriately-named header
> file here http://gd.tuwien.ac.at/gnu/mingw/os-hacks.h which I might be
> able to use as-is. But I wanted to ask here. If the answer is yes, this
> would be good thing to pursue as a pull request to libuv, then I would
> hopefully get some code review along the way to be sure I do it right (if
> that's feasible - please let me know if there's any reason that would make
> this a bad idea), and various clients of libuv could take advantage of it.
>
> Thanks in advance,
> Tony
>
>  --
> You received this message because you are subscribed to the Google Groups
> "libuv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/libuv.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to