1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uio-h.md 4.30 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

uio.h

Overview

Related Modules:

IO

Description:

Provides functions and structures related to input/output (I/O) to a file or buffer.

You can use the functions provided in this file to read files to the buffer or read information from the buffer to files.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

readv (int fd, const struct iovec *iov, int iovcnt)

ssize_t 

Reads the data of fd to iov.

writev (int fd, const struct iovec *iov, int iovcnt)

ssize_t 

Writes a given length of data into a file.

preadv (int fd, const struct iovec *iov, int iovcnt, off_t offset)

ssize_t 

Reads the data in a file whose fd offset is offset to the multi-group buffer space pointed to by iov.

pwritev (int fd, const struct iovec *iov, int iovcnt, off_t offset)

ssize_t 

Writes the data of a multi-group buffer space pointed to by iov to the offset of fd.

1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助