implement sys/uio/writev according to POSIX standard. This vectorized IO API is needed by many logging libraries to achieve atomic logging multiple strings.
17 lines
506 B
Modula-2
17 lines
506 B
Modula-2
//===-- POSIX header uio.h ------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_SYS_UIO_H
|
|
#define LLVM_LIBC_SYS_UIO_H
|
|
|
|
#include "__llvm-libc-common.h"
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_SYS_UIO_H
|