Hi!
> +int tst_fs_has_free(void (*cleanup)(void), const char *path,
> + uint64_t required_kib);
And I'm thinking if it would be better to change the interface to get
size and multiplier something as:
enum {
TST_KB = 1024,
TST_MB = 1048576,
TST_GB = 1073741824,
};
int tst_fs_has_free(void (*cleanup)(void), const char *path,
unsigned int size, unsigned int mult);
And the use it as:
tst_fs_has_free(cleanup, ".", 10, TST_MB);
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list