Add missing FileUtil functions (p?readvFull, p?writevFull) , add test
Summary: Testing incomplete reads / writes is hard, so I'm only testing the wrappers (template functions that take the underlying operation and retry it in case of incomplete operations). Note the cute hack of using variadic templates to use the same wrapper for both file pointer- and explicit-position flavors of the functions (the offset argument becomes optional). Test Plan: test added Reviewed By: lucian@fb.com FB internal diff: D806781
Showing
folly/test/FileUtilTest.cpp
0 → 100644
Please register or sign in to comment