
implement sys/uio/writev according to POSIX standard. This vectorized IO API is needed by many logging libraries to achieve atomic logging multiple strings.
16 lines
322 B
CMake
16 lines
322 B
CMake
add_custom_target(libc_sys_uio_unittests)
|
|
add_libc_unittest(
|
|
writev_test
|
|
SUITE
|
|
libc_sys_uio_unittests
|
|
SRCS
|
|
writev_test.cpp
|
|
DEPENDS
|
|
libc.src.errno.errno
|
|
libc.src.__support.common
|
|
libc.src.sys.uio.writev
|
|
libc.src.unistd.close
|
|
libc.src.fcntl.open
|
|
libc.test.UnitTest.ErrnoSetterMatcher
|
|
)
|